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