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