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