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