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