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