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