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