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