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