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