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