to take integer input from user