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