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