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