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