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