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