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