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