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