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