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