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