Next Magic Number

4<=n<=10^100
You cannot store it in long long int since the no. of digits in n>=100.
use char* to store the value.