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