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