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