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