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