Validate inputs in console