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