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