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