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