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