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