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