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