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