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