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