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