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