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