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