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