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