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