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