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