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