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