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