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