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