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