Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<cstdio>
- #include<iostream>
- using namespace std;
- int main()
- {
- unsigned long long n,m;
- while(cin>>n && n)
- {
- m=(n*10)/9;
- if(n%9==0)
- cout<<m-1<<" "<<m<<endl;
- else
- cout<<m<<endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement