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