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