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