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