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