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