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