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