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