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