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