Modified program 1. Fixed some syntax error.