In how many ways can we arrange letters from a to z, when c and d can have only eight letters between them? In how many ways we can arrange letters from A to Z , when A and I can have only seven letters between them?