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