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