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