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