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