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