#include<iostream>using namespace std;int main(){int i;cin>>i;cout<<i<<hex<<i+i<<oct<<i;return 0;}
8
81010
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!