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