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