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