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