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