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