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