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