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