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