public static boolean isValidNum(String year) {
		System.out.println(year);
		try{
			int num = Integer.parseInt(year);
			if(num<0)
				throw new Exception();
		}catch(Exception e){
			return false;
		}
		return true;
	}