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