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