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