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