If you want to write a program then you should design the program first