public static int retriveInput(int numInput)

Just like Nijan said...