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