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