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