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