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