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