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