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