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