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