1)
#include <iostream>
using namespace std;
int main ()
{
int a,b;
cin>>a>>b;
if(a>b)
b=b*3,a=a*2;
else
b=b*2,a=a*3;
cout<<a<<" "<<b;
}
2)
#include <iostream>
using namespace std;
int main ()
{
int n;
cin>>n;
if (n%4==0)
cout<<n/4;
else
cout<<n/4+1;
}