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