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