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