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