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