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