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