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