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