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