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