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