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