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