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