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