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