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