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