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