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