I write program in this way.