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