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