Html Input Javascript Get Max Integer Value Python