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