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