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