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