#include <iostream>
#include <conio.h>//使用getch的头文件
using namespace std;
int main()

{
	int j,k;
 //   char n[80];//char后面要带有常量或者是符号常量,确保可以分配给变量储存空间 
//	cout<<"helloworld"<<endl;
    
	
//	
//	cin>>n;
	
	
	
//	printf("hi %s",n);
cin>>j;
	 m(j);
	k=m(j);
	cout<<k;
	getch();
	return 0;

}
int m(int n)
{   
    cin>>n;
	return n*3;

}