atoi simpler solution Accepted