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