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