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