#include <iostream>
using namespace std;
int main()
{
	cout<<showbase<<123<<", "<<hex<<123<<", "<<oct<<123<<'\n';
}