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