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