add solution for reman to integer