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