I write program using class.