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