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