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