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