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