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