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