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