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