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