I will have to take the input as a string.Then turn it to an integer.Then use it in calculations.
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main()
{
string word;
cin>>word;
word=stol(word);
cout<<word;
return 0;
}