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