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