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