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