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