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