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