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