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