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