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