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