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