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