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