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