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