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