There are 7 baskets on the table. Each basket has 8, 20, 12, 7, 5, 0 and 17 apples. Matt chose seventh, Olivia chose first, Noah chose fifth, Emma chose sixth, John chose third, Liam chose second, and Sean chose fourth. How many apples did John and Emma choose in total?