There are 7 baskets on the table. Each basket has 1, 12, 16, 3, 20, 17 and 6 apples. Matt chose first, Emma chose third, Sean chose seventh, John chose sixth, Liam chose fifth, Olivia chose second, and Noah chose fourth. How many apples did John and Matt choose in total?