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