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