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