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