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