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