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