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