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