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