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