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