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