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