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