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