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