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