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