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