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