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