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