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