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