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