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