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