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