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