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