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