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