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