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