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