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