#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<a*b;
return 0;
}
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
char ch;
cin>>ch;
if(ch<=57&&ch>=48)
{
cout<<"YES";
}
else
{
cout<<"NO";
}
}
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
for(int i = n;i>=2;i--)
{
bool f = true;
for(int j = 2;j<i;j++)
{
if(i%j == 0)
{
f = false;
break;
}
}
if(f == true)
{
cout<<i<<endl;
break;
}
}
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<b<<a;
}
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int n,k;
cin>>n>>k;
for(int i = 0;i<=n;i++)
{
int a;
cin>>a;
int g = a%10;
int s = a/10%10;
if(k == a||k == s||g == k)
{
sum = sum + a;
cout<<sum;
}
}
return 0;
}