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