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