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