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