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