Add string to integer solution.