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