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