After finishing eating her bun, Alyona came up with two integers n and m. She decided to write down two columns of integers — the first column containing integers from 1 to n and the second containing integers from 1 to m. Now the girl wants to count how many pairs of integers she can choose, one from the first column and the other from the second column, such that their sum is divisible by 5.Formally, Alyona wants to count the number of pairs of integers (x, y) such that 1 ≤ x ≤ n, 1 ≤ y ≤ m and  equals 0.As usual, Alyona has some troubles and asks you to help.

The only line of the input contains two integers n and m (1 ≤ n, m ≤ 1 000 000).

Print the only integer — the number of pairs of integers (x, y) such that 1 ≤ x ≤ n, 1 ≤ y ≤ m and (x + y) is divisible by 5.

NoteFollowing pairs are suitable in the first sample case:   for x = 1 fits y equal to 4 or 9;  for x = 2 fits y equal to 3 or 8;  for x = 3 fits y equal to 2, 7 or 12;  for x = 4 fits y equal to 1, 6 or 11;  for x = 5 fits y equal to 5 or 10;  for x = 6 fits y equal to 4 or 9. Only the pair (1, 4) is suitable in the third sample case.

#include<stdio.h>
int main()
{
    long long int n,m,i,j,k,count,vag1,vag2,vag,t,temp,p;
    scanf("%I64d %I64d",&n,&m);
    count=0;
    if(n+m>=5){
        if(n>m){
            temp=n;
            n=m;
            m=temp;
        }
    for(i=1;i<=n;i++){
            k=1;
            t=k;
        while((i+k)%5!=0){

            k++;
            t=k;
        }
            p=(m-t+5)/5;
            count+=p;
         }
  printf("%I64d\n",count);
    }
    else
        printf("0\n",count);
  return 0;
}

#include<stdio.h>
int main()
{
	int n,m,i,k;
	long long int sum=0;
	scanf("%d%d",&n,&m);
	for(i=1;i<=n;i++)
	{
		sum=sum+(m+i%5)/5;
	}
	printf("%lld\n",sum);
	return 0;
}

#include<stdio.h>

int main()
{
    int n,i,m,j;
    long long int count=0;

    scanf("%d %d",&n,&m);

    if(n<=m)
    {
        //int temp;
        for(i=1;i<=5;i++)
        {
            for(j=0;j-i<=m;j+=5)
            {
                if( j>=i && j-i<=m && j-i>0) count++;
                //printf("i=%d j=%d count=%d (%d-%d)=%d couple(%d,%d)\n",i,j,count,j,i,j-i,i,j-i);
            }
            //printf("\n");
        }
        count=count*(n/5);
        //printf("count= %d nmod5= %d\n",count,n%5);
        for(i=1;i<=n%5;i++)
        {
            for(j=0;j-i<=m;j+=5)
            {
                if( j>=i && j-i<=m && j-i>0) count++;
                //printf("i=%d j=%d count=%d (%d-%d)=%d couple(%d,%d)\n",i,j,count,j,i,j-i,i,j-i);
            }
            //printf("\n");
        }
    }

    else
        {
            for(i=1;i<=5;i++)
        {
            for(j=0;j-i<=n;j+=5)
            {
                if( j>=i && j-i<=n && j-i>0) count++;
                //printf("i=%d j=%d count=%d (%d-%d)=%d couple(%d,%d)\n",i,j,count,j,i,j-i,i,j-i);
            }
            //printf("\n");
        }
        count=count*(m/5);
        //printf("count= %d nmod5= %d\n",count,n%5);
        for(i=1;i<=m%5;i++)
        {
            for(j=0;j-i<=n;j+=5)
            {
                if( j>=i && j-i<=n && j-i>0) count++;
                //printf("i=%d j=%d count=%d (%d-%d)=%d couple(%d,%d)\n",i,j,count,j,i,j-i,i,j-i);
            }
            //printf("\n");
        }
        }

    printf("%lld",count);

    return 0;
}

#include <stdio.h>

unsigned long long count_pairs_multiple_5(unsigned long long, unsigned long long);
int main()
{
    unsigned long long m, n, answer;
    scanf("%I64u %I64u",&m, &n);
    answer = count_pairs_multiple_5(m,n);
    printf("%I64u\n",answer);
    return 0;
}

unsigned long long count_pairs_multiple_5(unsigned long long m, unsigned long long n)
{
    short i;
    unsigned long long answer = 0, current_mod_x, current_mod_y;

    answer = (n/5)*(m/5);//doing the case of i = 0 (mod 5) separately because (m - (5 - i)) will actually lose 1 possible value of y.
    for(i = 1; i <5; i++)
    {
        current_mod_x = n/5;
        current_mod_y = m/5;
        if(n%5 >= i)
        {
            current_mod_x++;
        }
        if(m%5 >= 5 - i)
        {
            current_mod_y++;
        }
        answer = answer + current_mod_x*current_mod_y;
    }
    return answer;
}

#include<stdio.h>

int main(){
    long long n,m,i,x,y,c=0,z,j;
    scanf("%lld %lld",&n,&m);
    if(n>m){x=m;y=n;}
    else{x=n;y=m;}
    for(i=x;i>=1;i--){
            z=(i+y)/5-(i/5);
            c+=z;
    }
    printf("%lld\n",c);
}

#include<stdio.h>
int main()
{long long int n,m,i,j,sum=0;
scanf("%lld%lld",&n,&m);
for(i=1;i<=n;i++)
{sum=sum+((m+i)/5-i/5);}

printf("%lld",sum);
return 0;
}

#include<stdio.h>
int main()
{
    long long int n,m,a,b,c,d,tot=0;
    scanf("%lld %lld",&n,&m);
    a=m/5;

    tot=a*n;

    c=m%5;

    d=n/5;

    tot=tot+c*d;

    b=m%5;
    c=n%5;
    d=b+c;
    d=d-4;
    if(d>0)
        tot=tot+d;

    printf("%lld\n",tot);

    return 0;
}

#include <stdio.h>
int main()
{
    int n, m, tmp;
    scanf("%d%d", &n, &m);
    long long int ans = 0;
    for(int i = 1; i <= n; i++)
    {
        tmp = m;
        ans += (tmp + (i%5)) / 5;
    }
    printf("%I64d\n", ans);
}

#include<stdio.h>
main()
{
	int n,m,i,d;
	long long s=0;
	scanf("%d %d",&n,&m);
	for(i=1;i<=n;i++)
	{
		d=(m+i)/5-i/5;
		s+=d;
	}
	printf("%I64d",s);
}

#include <stdio.h>

int main()
{
    long long n,m,i=1,j,count=0;
    scanf("%I64d %I64d",&n,&m);

    while(i<=n){
        count+=(m+5-(5-(i%5)))/5;
        i++;
    }

    printf("%I64d",count);

    return 0;
}

#include<stdio.h>
#include<stdlib.h>
int main()
{
    long long int m,n,i,ans=0,temp;
    scanf("%lld %lld",&n,&m);

    for(i=1;i<=n;i++)
    {
        temp=i%5;
        long long int d=m-5+temp;
        if(d>=0)
        {
            ans++;
            ans=ans+d/5;
        }
    }
    printf("%lld\n",ans);
    return 0;
}

#include<stdio.h>

int  main()
{

    long long int i,j,k,l;

    long long int n,m;
    scanf("%lld %lld",&n,&m);
    long long int t;

long long int count=0;
    for(i=1;i<=n;i++)
    {
        count=count + ((i+m)/5) - (i/5);
    }

printf("%lld",count);

return 0;
}

/******************************************************************************

Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby,
C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS
Code, Compile, Run and Debug online from anywhere in world.

*******************************************************************************/
#include <stdio.h>

int main()
{
    int n , m ,p , i;
    long long int sum = 0;
    scanf("%d %d",&n,&m);
    if (n > 4){
        for (i=0;i<5;i++){
            sum = sum + (i+m)/5;
        }
        sum = sum*(n/5);
        p = n%5;
        for (i=1;i<p+1;i++)
            sum = sum + (i+m)/5;
        printf("%lld",sum);
    }
    else{
        p = n%5;
        for (i=1;i<p+1;i++)
            sum = sum + (i+m)/5;
        printf("%lld",sum);
    }

}

#include<stdio.h>
int main()
{
	long long int a,b,i,j,count=0,x,y,z;
	scanf("%lld%lld",&a,&b);
	for(i=1;i<=5;i++)
	{
		x=0;
		y=0;
		if(a>=i)
		{
			x=(a-i)/5+1;
		}
		z=(5-(i%5));
		if(b>=z)
		{
			y=(b-z)/5+1;
		}
		count=x*y + count;
	}

	printf("%lld\n",count);
	return 0;
}

#include <stdio.h>

int c(int n, int k) {
	if (k == 0)
		return n / 5;
	else {
		n -= k;
		return n < 0 ? 0 : n / 5 + 1;
	}
}

int main() {
	int i, n, m;
	long long cnt;

	scanf("%d%d", &n, &m);
	cnt = 0;
	for (i = 0; i < 5; i++)
		cnt += (long long) c(n, i) * c(m, (5 - i) % 5); /*cnt * num*/
	printf("%lld\n", cnt);
	return 0;
}

/* 20160711 JJA Codeforces #358 A.Alyona and Numbers */

#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>

int main() {
	int n;
	int m;
	int tmp;
	unsigned long long counter = 0 ;
	scanf("%d %d", &n, &m);

	for (int i = 1; i <= n; i++) {
		counter += (i + m) / 5 - i / 5;
	}
	printf("%lld", counter);

}

#include<stdio.h>
  int main(void)
{

    long long n ,m,i,temp,r=0,j;
    scanf("%I64d %I64d",&n,&m);
    for(i=1;i<=n;i++)
    {
        temp=(i/5)+1;
        temp=(temp)*5-i;
        if(temp<=m)
        {
            r++;
        }
        j=m-temp;
        r=r+(j/5);
    }
    printf("%I64d",r);
}

#include<stdio.h>
int main(){
	int n,m,div,rem;
	scanf("%d %d",&n,&m);
	unsigned long long output=0;
	div=m/5;
	rem=m%5;
	output=((unsigned long long)n*div)+((n/5)*rem);

	if((n%5)&&(rem)){

		if((n%5)==1){
			if(rem==4){
				output++;
			}
		}
		else if((n%5)==2){
			if(rem==4){
				output+=2;
			}
			else if (rem==3){
				output+=1;
			}
		}
		else if((n%5)==3){
			if(rem==4){
				output+=3;
			}
			else if (rem==3){
				output+=2;
			}
			else if(rem==2){
				output+=1;
			}
		}
		else if((n%5)==4){
			if(rem==4){
				output+=4;
			}
			else if (rem==3){
				output+=3;
			}
			else if(rem==2){
				output+=2;
			}
			else if (rem==1){
				output++;
			}
		}
	}
	printf("%I64d\n",output);

}

#include <stdio.h>

#define g(x, i) (x / 5 + (x % 5 >= (i)))

int main() {
    long long m, n, c = 0;
    int i;
    scanf("%I64d %I64d\n", &n, &m);
    for (i = 0; i < 5; ++i)
        c += g(n, i ? i : 5) * g(m, 5 - i);
    printf("%I64d", c);
}

#include<stdio.h>

int main()
{
long long int n,m;
scanf("%lld %lld",&n,&m);
long long int p=n/5,q=n%5;
long long int r=m/5,s=m%5;
long long int count=0;
count=p*5*r+q*r+s*p;
if(q+s>=5) {count+=(q+s)-4;}
printf("%lld",count);
return 0;
}

#include<stdio.h>
int main(){
	long long i,n,m,count=0,min,max;
	scanf("%lld %lld",&n,&m);
	min=n;max=m;
	if(n>m){
		max=n;
		min=m;
	}
	for(i=1;i<=min;i++){
		count+=max/5;
		if((max%5)>=(5-(i%5)))
			count++;
	}
	printf("%lld\n",count);
	return 0;
}

#include <stdio.h>

int main()
{
	unsigned long long a, b, c;
	int ZA[5];

	scanf("%llu%llu",&a, &b);
	if (a < b) {
		c = b;
		b = a;
		a = c;
	}
	for (c = 0; c < 5; ++c)
		ZA[c] = a / 5;
	for (c = 0; c <= a % 5; ++c)
		ZA[c] += 1;
	ZA[0] -= 1;
	c = 0;
	for (a = 1; a <= b; ++a)
		c += ZA[(5 - a % 5) % 5];
	printf("%llu\n", c);

	return 0;
}

#include <stdio.h>
int main(int argc, char const *argv[])
{
	long long int x, y,i;
	scanf("%I64d %I64d", &x, &y);
	long long int xl = x/5;
	long long int yl = y/5;
	long long int c = xl * yl * 5;
	long long int xm = x % 5;
	long long int ym = y % 5;
	c += xm * yl;
	c += ym * xl;
	for (i = xm; i > 0; --i)
	{
		if(ym >= 5-i) c++;
	}
	printf("%I64d\n", c);
	return 0;
}

#include <stdio.h>
#include <string.h>

int satarmatha(long long int n,long long int m,long long int x)
{
    long long int u = x - m - 1;
    if(u < 0){
        u = 0;
    }
    if(n - u >= 0 && n<x){
        return n - u;
    }
    else if(n>=x && m>=x){
        return x-1;
    }
}
int main()
{
    long long int x, a, n, k, m, i, l, sum=0, max, min, j=0;
    scanf("%I64d %I64d", &n, &m);
    x = (n + m) / 5;
    //printf("%d", 5*x);
    if(n > m){
        max = n;
        min = m;
    }
    else{
        max = m;
        min = n;
    }
    x *= 5;
    //printf("%d\n", x);
    for(i=0;;i++){
        if(x == 0) break;
        sum += satarmatha(min,max,x);
        x -= 5;

    }

    printf("%I64d", sum);
}

#include<stdio.h>
#include<stdlib.h>
#include<math.h>
int main(void)
{
	long int n,m,i,a,j,b,c;
	double count;
	scanf("%ld%ld",&n,&m);
	count=0;
	for(i=1;i<=n;i++)
	{
	    a=i%5;
	    a=5-a;
	    b=m/5;
	    j=m-5*(b);
	    if(j>=a)
	    count=count+b+1;
	    else
	    count=count+b;

   }
	printf("%.0lf",count);

}

#include<stdio.h>

int A[6];

int main(void)
{
int m,n,min,max,count=0,i,val;

long long sum=0;

scanf("%d%d",&m,&n);

if(m<=n)
{
min=m;
max=n;
}
else
{
min=n;
max=m;
}

for(i=1; i<=min; i++)
{
 val=5-i%5;
if(val<=max)
{
count+=(max-val)/5;
A[i]=count+1;
count=0;
if(i==5)
break;
}
}

for(i=1; i<=5; i++)
sum+=A[i];

if(min>5)
{
sum*=min/5;
min%=5;
for(i=1; i<=min; i++)
sum+=A[i];
}

printf("%lld",sum);
return 0;
}

#include<stdio.h>
#include<inttypes.h>
main()
{
    int64_t n, m, y=0, i;
    scanf("%I64d %I64d", &n, &m);
    for(i=1; i<=n; i++){
        y=y+(m+(i%5))/5;
    }
    printf("%I64d", y);
}

#include <stdio.h>

int main()
{
    long long n,m,i=1,j,count=0;
    scanf("%I64d %I64d",&n,&m);

    while(i<=n){
        count+=(m+5-(5-(i%5)))/5;
        i++;
    }

    printf("%I64d",count);

    return 0;
}

#include<stdio.h>
#include<stdlib.h>
long long p[10],q[10];
void main()
{
long long n,m,i,s=0;
scanf("%lld %lld",&n,&m);

for(i=1;i<=n;i++)
p[i%5]++;

for(i=1;i<=m;i++)
q[i%5]++;

for(i=0;i<5;i++){
	if(i==0)
s=s+p[i]*q[i];
else
s=s+p[i]*q[5-i];}

printf("%lld\n",s);
exit(0);
}

///Be Grateful For What You Have
///Never Give Up
#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#include<string.h>

int main()
{
    long long i,n,m,p1,p2,ara1[6]={0},ara2[6]={0},sum=0;
    scanf("%lld %lld",&n,&m);
    p1=n/5;
    p2=m/5;
    n-=p1*5;
    m-=p2*5;
    for(i=0;i<5;i++){
        ara1[i]=p1;
        ara2[i]=p2;
        if(i==0)
            continue;
        if(i<=n){ara1[i]++;}
        if(i<=m){ara2[i]++;}
    }
    sum=ara1[0]*ara2[0]+ara1[1]*ara2[4]+ara1[2]*ara2[3]+ara1[3]*ara2[2]+ara1[4]*ara2[1];
    printf("%lld",sum);
    return 0;
}

#include <stdio.h>

int main()
{
    long long int n, m, q_n, mod_n, q_m, mod_m, total_pairs = 0, i, temp;

    scanf("%lld %lld", &n, &m);

    if(n > 1000000 || m > 1000000) return 1;

    if(n > m)
    {
        temp = m;
        m = n;
        n = temp;
    }

    q_m = m / 5;
    mod_m = m % 5;

    for(i = 1; i <= n; i++)
    {
        total_pairs += q_m;
        if((i % 5 + mod_m) >= 5) total_pairs++;
    }

    printf("%lld\n", total_pairs);

    return 0;
}

#include<stdio.h>
int main()
{
    long long int n,m,i,a[6],b[6],ans=0;
    scanf("%lld%lld",&n,&m);
    for(i=1;i<=5;i++)
    {
        a[i]=(n+5-i)/5;
        b[i]=(m+5-i)/5;
    }
    for(i=1;i<5;i++)
        ans=ans+a[i]*b[5-i];
        ans=ans+a[i]*b[i];
        printf("%lld",ans);
        return 0;
}

#include <stdio.h>

int main()
{
    long long int m=0,i,j,k,l;
    scanf("%lld %lld",&i,&j);
    for(k=1;k<=i;k++)
    {
        l=k%5;
        m=m+(j+l)/5;
    }
    printf("%lld",m);

    return 0;
}

#include <stdio.h>

int main() {
	int n, m, x;
	long long cnt;

	scanf("%d%d", &n, &m);
	cnt = 0;
	for (x = 1; x <= n; x++) {
		int high, low;

		low = (5 - x % 5 - 1) % 5 + 1;
		high = m - m % 5 + (5 - x % 5) % 5;
		if (high > m)
			high -= 5;
		cnt += (long long) (high - low) / 5 + 1;
	}
	printf("%lld\n", cnt);
	return 0;
}

#include<stdio.h>
int main ()
{
    long long int n,m,a,b,c,d,i,sum=0;
    scanf("%lld %lld",&n,&m);
    if(n+m<5)
    {
        printf("0\n");
        return 0;
    }
    if(n+m==5)
    {
        printf("1\n");
        return 0;
    }
    if(n+m>5)
    {
        if(n<=m)
        {
            for(i=1;i<=n;i++)
            {
                if(i==1 && m<4);
                else
                {
                    a=i%5;
                    b=5-a;
                    c=m-b;
                    d=c/5;
                    sum=sum+d+1;
                }
            }
        }
        else
        {
            for(i=1;i<=m;i++)
            {
                if(i==1 && n<4);
                else
                {
                    a=i%5;
                    b=5-a;
                    c=n-b;
                    d=c/5;
                    sum=sum+d+1;
                }
            }
        }
    }
    printf("%lld\n",sum);
    return 0;
}

#include <stdio.h>
int main()
{
    int n,m,i;
    long long  sum=0;
    scanf("%d%d",&n,&m);
    for(i=1;i<=n;i++)
        sum+=((m+i)/5-i/5);
    printf("%lld",sum);
    return 0;
}

#include<stdio.h>
int main()
{
int n,m,i,first;
long long int sum=0;
scanf("%d%d",&n,&m);
for(i=1;i<=n;i++)
{
first=5-(i%5);
if(m>=first)
	sum=sum+((m-first)/5) +1;
}
printf("%lld\n",sum);
return 0;
}

#include<stdio.h>
#include<math.h>

int main()
{
	long long int n,m,i,j,count=0;
	scanf("%lld%lld",&n,&m);
	count=(n/5)*(m/5)*5;
	for(i=0;i<=m%5;i++)
		for(j=0;j<=n%5;j++)
			if(i+j==5)
				count++;
	count+=(m%5)*(n/5);
	count+=(n%5)*(m/5);
	printf("%lld\n",count);
	return 0;
}

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
long long p[10],q[10];
int main()
{
	int n,x,y,l;
	long long ans=0,i,j,k,a,b;
	scanf("%I64d%I64d",&a,&b);
	for(i=1;i<=a;i++)
		p[i%5]++;
	for(i=1;i<=b;i++)
		q[i%5]++;
	ans+=p[1]*q[4];
	ans+=p[2]*q[3];
	ans+=p[3]*q[2];
	ans+=p[4]*q[1];
	ans+=p[0]*q[0];
 	printf("%I64d",ans);
return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

int main()
{
  long long int x,y,a=0;
  scanf("%lld%lld",&x,&y);
  for (int i=1;i<=x;i++)
    a+=(i+y)/5 - i/5;
printf("%lld",a);
    return 0;
}

#include <stdio.h>

int main()
{
    long long int n, m, max, min, ans=0;
    int i;
    scanf("%lld %lld",&n,&m);
    if(m>n) max=m, min=n;
    else max=n, min=m;
    for(i=1;i<=min;i++)
    {
        ans+=(max+(i%5))/5;
    }
    printf("%lld",ans);
    return 0;
}

#include <stdio.h>

int n,m;
long long ans=0;
long long h[10];
int main(){
    int i;
    scanf ("%d%d",&n,&m);
    for (i=1;i<=m;i++){
        if (i%5) h[i%5]++;
        else h[5]++;
    }
    for (i=1;i<=n;i++){
        ans += h[5-(i%5)];
    }
    printf ("%I64d\n",ans);
    return 0;
}

#include<stdio.h>
#include<stdlib.h>
#define max(a,b) (a)>(b)?(a):(b)
#define min(a,b) (a)<(b)?(a):(b)
int main()
{
    long long a,b;
    long long c=0,n=1,t=5,temp;
    scanf("%lld%lld",&a,&b);
    long long minimum=(min(a,b)),maximum=(max(a,b));
    if((a==b&&a<3))
    printf("0");
    else if(a==b&&a==3)
    printf("2");
    else if(a==b&&a%10==0&&b%10==0)
    printf("%lld",a*(b/10)*2);
    else
    {
        while(n<=minimum)
        {
            temp=abs(n-t);
            if(n%5!=0&&(maximum-temp)>=0)
            {c+=((maximum-temp)/5)+1;
            //printf("%d %d\n",n,c);
            }
            else
            c+=((maximum-temp)/5);
            n++;
            if((n-t)>0)
            t+=5;
        }
        printf("%lld",c);
    }
    return 0;
}

#include <stdio.h>

int min(int a,int b){

    if(a < b)
        return a;
    return b;
}
int main(){

    int n, m, v[10], i;
    long long answ = 0;
    scanf("%d %d",&n,&m);

    for(i = 0;i <= 4; ++i)
        v[i] = 0;

    for(i = 1;i <= n; ++i)
        ++v[i % 5];
    for(i = 1;i <= m; ++i)
        if(i % 5 > 0)
            answ = answ + v[5 - (i % 5)];
        else
            answ = answ + v[0];

    printf("%I64d",answ);
}

#include<stdio.h>
int main()
{
    int n,m;
    long long cnt=0;
    scanf("%d %d",&n,&m);
    int mx,lo;
    if(n>m)
    {
        mx=n;
        lo=m;
    }
    else
    {
        mx=m;
        lo=n;
    }
    for(int i=1;i<=lo;i++)
    {
        if(mx+lo<5)
        {
            break;
        }
        if(i<=mx && i+mx>=5)
        {
            cnt++;
            cnt+=(mx-(5-i%5))/5;
        }
    }
    printf("%lld\n",cnt);
    return 0;
}

#include<stdio.h>
int main()
{
    long long int n,m,i,j,sum,a;
    while(scanf("%lld%lld",&n,&m)!=EOF)
    {
        sum=0;
        for(i=1;i<=n;i++)
        {
           a=i%5;
           sum=sum+(m+a)/5;
        }
        printf("%lld\n",sum);
    }
    return 0;
}

#include<stdio.h>
main()
{
      long long int n,m,i=1,j,sum=0;
    scanf("%I64d %I64d",&n,&m);

   for(i=1;i<=n;i++)
   {
      sum+=(m+(i%5))/5;
   }
   printf("%I64d",sum);
}

#include<stdio.h>
int main(){
    long long int n,m,count=0,i,j;
    scanf("%lld %lld", &n,&m);
    int q1,rn,rm,q2;
    q1=n/5;
    q2=m/5;
    rn=n%5;
    rm=m%5;
    count=q2*n+q1*rm;
    if(rn==1){
        if(rm==4)   count++;
    }
    else if(rn==2){
        if(rm==3)   count++;
        else if(rm==4)  count=count+2;
    }
    else if(rn==3){
        if(rm==2)       count++;
        else if(rm==3)  count+=2;
        else if(rm==4)  count+=3;
    }
    else if(rn==4){
        if(rm==1)       count++;
        else if(rm==2)  count+=2;
        else if(rm==3)  count+=3;
        else if(rm==4)  count+=4;
    }

    /*for(i=1;i<=n;i+=5){
        for(j=4;j<=m;j+=5){
            count++;
        }
    }
    for(i=2;i<=n;i+=5){
        for(j=3;j<=m;j+=5){
            count++;
        }
    }
    for(i=3;i<=n;i+=5){
        for(j=2;j<=m;j+=5){
            count++;
        }
    }
    for(i=4;i<=n;i+=5){
        for(j=1;j<=m;j+=5){
            count++;
        }
    }
    for(i=5;i<=n;i+=5){
        for(j=5;j<=m;j+=5){
            count++;
        }
    }*/
    printf("%lld", count);
}

#include<stdio.h>
int main()
{
    long long int n , m , i , ans=0 ;

    scanf("%I64d%I64d",&n,&m);

    for(i=1 ; i<=n ; i++)
    {
        ans += (m+i)/5 - i/5 ;
    }

    printf("%I64d",ans);

    return 0 ;
}

#include<stdio.h>
int main()
{
    int i;
    long long int c,a,b,x,y;
    scanf("%lld%lld",&a,&b);
    int r1=a%5;
    int r2=b%5;
    c=(a/5)*(b/5);

    for(i=1;i<=4;i++)
    {
        x=a/5;
        y=b/5;
        if(r1>=i)
        {
            x=x+1;
        }
        if(r2>=(5-i))
        {
         y=y+1;
        }
        c=x*y + c;
    }

    printf("%lld\n",c);
    return 0;
}

#include<stdio.h>

int main()
{

    int x,y,i,j,k,l,sum;
    unsigned long long int c;

    scanf("%d %d",&x,&y);

    c = 0;

    i = 1;
    j = 1;

    for(i=1;i<=x;i++){
            for(j=1;j<=5;j++){
                    sum = i + j;
                    if(sum%5==0 && j<=y){
                        c = c + 1;
                        c = c + (y-j)/5;
                        break;
                    }

            }

    }

    printf("%I64d\n",c);

    return 0;

}

#include<stdio.h>
#include<math.h>
int main ()
{
    long long int a,b,n,m,i,j;
    scanf("%lld%lld",&n,&m);
    if(n<=m)
    {
        a=m;
        b=n;
    }
    else if(n>m)
    {
        a=n;
        b=m;
    }
    long long int count=0;
    for(i=1; i<=b; i++)
    {
        if((i%5)>=(5-a%5))
            count=count+(a/5)+1;
        else
            count=count+(a/5);

    }
    printf("%lld\n",count);
}

#include<stdio.h>
int main()
{
    long long int n,m,a,b,c,d,tot=0;
    scanf("%lld %lld",&n,&m);
    a=m/5;

    tot=a*n;

    c=m%5;

    d=n/5;

    tot=tot+c*d;

    b=m%5;
    c=n%5;
    d=b+c;
    d=d-4;
    if(d>0)
        tot=tot+d;

    printf("%lld\n",tot);

    return 0;
}

#include<stdio.h>
#include<stdlib.h>
int main()
{
    long long int m,n,i,ans=0,temp;
    scanf("%lld %lld",&n,&m);

    for(i=1;i<=n;i++)
    {
        temp=i%5;
        long long int d=m-5+temp;
        if(d>=0)
        {
            ans++;
            ans=ans+d/5;
        }
    }
    printf("%lld\n",ans);
    return 0;
}

#include<stdio.h>
int main()
{
	int n,m,i,k;
	long long int sum=0;
	scanf("%d%d",&n,&m);
	for(i=1;i<=n;i++)
	{
		sum=sum+(m+i%5)/5;
	}
	printf("%lld\n",sum);
	return 0;
}

#include<stdio.h>
int main()
{
    long long int n,m,x,i,a,b,c,d,sum=0;
    scanf("%lld%lld",&m,&n);
    if(n>m){
        x=n;
        n=m;
        m=x;
    }
    for(i=m;i>=1;i--){
        a=i+n;
        b=a/5;
        c=i/5;
        d=b-c;
        sum=sum+d;
    }
    printf("%lld",sum);
    return 0;
}

#include <stdio.h>

int main()
{
    long long int x, y, res, rem, div, div2, i, j, sum, count, ara[5];
    while(scanf("%lld%lld", &x, &y)==2)
    {
        count=0;
        if(x<5 || y<5){
            for(i=1; i<=x; i++)
            for(j=1; j<=y; j++)
        {
            sum=i+j;
            if(sum%5==0) count++;
        }
        printf("%d\n", count);
        }
        else{
            div=y/5;
            div2=x/5;
            rem=x%5;
            if(((div*5)+4)<=y)
            {
                ara[1]=div+1;
            }
            else ara[1]=div;

            if(((div*5)+3)<=y){
                ara[2]=div+1;
            }
            else ara[2]=div;

            if(((div*5)+2)<=y)
            {
                ara[3]=div+1;
            }
            else ara[3]=div;

        if(((div*5)+1)<=y)
            {
                ara[4]=div+1;
            }
            else ara[4]=div;
            if(((div*5)+5)<=y)
            {
                ara[5]=div+1;
            }
            else ara[5]=div;
            res=div2*(ara[1]+ara[2]+ara[3]+ara[4]+ara[5]);
            for(i=1; i<=rem; i++)
            {
                res+=ara[i];
            }
            printf("%lld\n", res);
        }
    }
    return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    //input
    unsigned long long int n, m;
    scanf("%lld %lld", &n, &m);
    unsigned long long int max, min;
    if(n > m)
    {
        max = n;
        min = m;
    }
    else
    {
        max = m;
        min = n;
    }

    unsigned long long int count = min * (max/5);

    for(int i = 1; i <= min; i++)
        for(int j = 1; j <= max%5; j++)
            if((i+j) % 5 == 0) count++;

    printf("%lld", count);

    return 0;
}

/*  AUTHOR:AKASH JAIN
*   USERNAME:akash19jain
*   DATE:09/07/2019
*/
#include<stdio.h>
#include<math.h>
#include<string.h>
#include<stdlib.h>
#include<stdbool.h>
#define MOD 1000000007
int cmp(const void * a,const void * b);

int main()
{

    long long t=1;
    //scanf("%lld",&t);
    while(t--)
    {
        long long n,m,sum=0;
        scanf("%lld%lld",&n,&m);
        for(long long i=1;i<=n;i++)
        {
            sum+=(m+i%5)/5;
        }
        printf("%lld\n",sum);
    }
    return 0;
}

//qsort(a,n,sizeof(a[0]),cmp);
int cmp(const void * a,const void * b)
{
    return (*(int*)a - *(int*)b);
}

#include<stdio.h>
int main()
{long long int n,m,i,j,sum=0;
scanf("%lld%lld",&n,&m);
for(i=1;i<=n;i++)
{sum=sum+((m+i)/5-i/5);}

printf("%lld",sum);
return 0;
}

#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>

int main()
{
       long long int n,m,t,i,p=0;
      scanf(" %lld %lld",&n,&m);
      for(i=1;i<=n;i++){

                p+=(m+i)/5 - i/5;

      }
      printf("%lld",p);
    return 0;
}

#include <stdio.h>

int main(void)
{
	long long int v_M, v_N, v_CT = 0;

	scanf("%I64d %I64d", &v_M, &v_N);

	if(v_M > v_N)
	{
		v_M += v_N;
		v_N = v_M - v_N;
		v_M -= v_N;
	}

	if(v_M < 5 && v_N < 5)
	{
		for(long long int i = 1; i <= v_M; i++)
		{
			for(long long int j = 1; j <= v_N; j++)
			{
				if((i + j) == 5)
					v_CT++;
			}
		}
	}
	else
	{
		for(long long int i = 1; i <= v_M; i++)
		{
			if(i != 5)
				v_CT += (v_N - ((((i / 5) + 1) * 5) - i)) / 5 + 1;
			else
				v_CT += v_N / 5;
		}
	}

	printf("%I64d", v_CT);

	return(0);
}

#include <stdio.h>

int main()
{
    int n,m,count=0;
    int rem;
    scanf("%d %d",&n,&m);
    if(n>m)
    {
        int temp=m;
        m=n;
        n=temp;
    }
    for(int i=1;i<=m;i++)
    {
        rem=5*(i/5 + 1) -i;

        if(rem==5)
            rem=0;

        for(int j=5-rem;j<=n;j+=5)
        {
            count++;
        }
    }
    printf("%d",count);
}

#include<stdio.h>
int main(){
int n,m,x,y,i,j,p=0,d;
scanf("%d %d",&n,&m);
for(i=1;i<=n;i++){
        d=(m+i)/5-i/5;
            p=p+d;
    }
printf("%d",p);
return 0;
}

#include<stdio.h>
#include<stdlib.h>
#define max(a,b) (a)>(b)?(a):(b)
#define min(a,b) (a)<(b)?(a):(b)
int main()
{
    long long a,b;
    long long c=0,n=1,t=5,temp;
    scanf("%lld%lld",&a,&b);
    long long minimum=(min(a,b)),maximum=(max(a,b));
    if((a==b&&a<3))
    printf("0");
    else if(a==b&&a==3)
    printf("2");
    else if(a==b&&a%10==0&&b%10==0)
    printf("%lld",a*(b/10)*2);
    else
    {
        while(n<=minimum)
        {
            temp=abs(n-t);
            if(n%5!=0&&(maximum-temp)>0)
            c+=((maximum-temp)/5)+1;
            else
            c+=((maximum-temp)/5);
            n++;
            if((n-t)>0)
            t+=5;
        }
        printf("%lld",c);
    }
    return 0;
}

#include <stdio.h>

int main(void)
{
	long long int v_M, v_N, v_CT = 0;

	scanf("%I64d %I64d", &v_M, &v_N);

	for(long long int i = 1; i <= v_M; i++)
	{
		if(i != 5)
			v_CT += (v_N - ((((i / 5) + 1) * 5) - i)) / 5 + 1;
		else
			v_CT += v_N / 5;
	}

	printf("%I64d", v_CT);

	return(0);
}

#include<stdio.h>
int main()
{
    int n,m;
    long long cnt=0;
    scanf("%d %d",&n,&m);
    int mx,lo;
    if(n>m)
    {
        mx=n;
        lo=m;
    }
    else
    {
        mx=m;
        lo=n;
    }
    for(int i=1;i<=lo;i++)
    {
        if(i<=mx)
        {
            cnt++;
            cnt+=(mx-(5-i%5))/5;
        }
    }
    printf("%lld\n",cnt);
    return 0;
}

#ifdef ONLINE_JUDGE
    #define NDEBUG 1
#endif
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <limits.h>
#include <math.h>

#define long int64_t
#define fore(i,k,n) for (int _k = (k), _n = (n), i = _k; i <= _n; ++i)
#define forr(i,n,k) for (int _k = (k), _n = (n), i = _n; i >= _k; --i)
#define scani(x) int x; scanf("%d", &x)
#define scans(x) static char x[LEN]; scanf("%s", x)
#define LIST_INIT_CAP 4
#define HASH_INIT_CAP 64
#define HASH_SKIP 11
#define TREE_INIT_CAP 1024
#define TREE_MAX_HEIGHT 64
#define DEQUE_INIT_CAP 1024
#define HEAP_INIT_CAP 1024
#define TAKEN 1
#define EMPTY 0
#define TOMB -1
#define max(a,b) (((a)>(b))?(a):(b))
#define min(a,b) (((a)<(b))?(a):(b))

#define N 100004

int main() {
    scani(n);
    scani(m);
    if (n > m) { int t = n; n = m; m = t; }
    long answer = 0;
    fore (i, 1, n) {
        int t = 5 - i % 5;
        if (t == 0) t = 5;
        if (m > t) {
            ++answer;
            answer += (long)(m - t) / 5;
        }
    }
    printf("%I64d", answer);

    return 0;
}

#include<stdio.h>
#define max(a,b) (a)>(b)?(a):(b)
#define min(a,b) (a)<(b)?(a):(b)
int main()
{
    long a,b;
    long c=0,n=1,t=5,temp;
    scanf("%ld%ld",&a,&b);
    long minimum=(min(a,b)),maximum=(max(a,b));
    while(n<=minimum)
    {
        temp=abs(n-t);
        if(n%5!=0)
        c+=((maximum-temp)/5)+1;
        else
        c+=((maximum-temp)/5);
        n++;
        if((n-t)>0)
        t+=5;
    }
    printf("%ld",c);
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
   long m, n;
   scanf("%d %d", &m, &n);

   long m_div = m / 5;
   long n_div = n / 5;
   long m_rem = m % 5;
   long n_rem = n % 5;

   long count = m_div * n_div;

   for(int i = 1 ; i < 5 ; i++)
   {
      int j = 5 - i;

      long m_tmp = m_div;
      long n_tmp = n_div;

      if(i <= m_rem)
      {
         m_tmp++;
      }

      if(j <= n_rem)
      {
         n_tmp++;
      }

      count += m_tmp * n_tmp;
   }

   printf("%d\n", count);
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    unsigned long m,n,k;
    unsigned long a=0,b=0,c=0,d=0,e=0;
    unsigned long a1=0, b1=0, c1=0, d1=0, e1=0;
    scanf("%d%d", &m,&n);

    if(m>n){
        k=m;
        m=n;
        n=k;
    }

    for(unsigned long i=1;i<=m;i++){
        if(i%5==1){
          a++;
        }else if(i%5==2){
          b++;
        }else if(i%5==3){
          c++;
        }else if(i%5==4){
          d++;
        }else{
          e++;
        }

    }

    for(unsigned long i=1;i<=n;i++){
        if(i%5==1){
          d1++;
        }else if(i%5==2){
          c1++;
        }else if(i%5==3){
          b1++;
        }else if(i%5==4){
          a1++;
        }else{
        e1++;
        }
    }

    printf("%lu", (unsigned long)(a*a1 + b*b1 + c*c1 + d*d1 + e*e1));
    return 0;
}

#include<stdio.h>
int main()
{
    long long int n,m,i,j,k,count,vag1,vag2,vag,t;
    scanf("%I64d %I64d",&n,&m);
    count=0;
    if(n+m>=5){
    for(i=1;i<=n;i++){
            k=1;
            t=k;
        while((i+k)%5!=0){

            k++;
            t=k;
        }
            vag=(m-t)/5 + 1;
            count+=vag;

   }
  printf("%I64d\n",count);
    }
    else
        printf("0\n",count);
  return 0;
}

#include<stdio.h>
int main()
{
    int m,n,i,j,k;

    scanf("%d %d",&n,&m);
    long long int ctr=0;

    for(int i=1;i<=n;i++)
    {
        ctr=ctr+(long long int)((m-5+i%5)/5);
    }

    printf("%lld\n",ctr+n);

    return 0;
}

#include<stdio.h>
int main()
{
    int n,m,i;

    int sum=0;
    scanf("%d%d",&n,&m);
    for(i=1;i<=m;i++)
    {
        sum=sum+(((i+n)/5)-(i/5));
    }
    printf("%d",sum);
    return 0;
}

#include <stdio.h>

int main()
{
    long long int n, m;
    long long int result;
    scanf("%lld %lld",&n,&m);
    double temp = n*m;
    result = (int)((temp/5)+.5);
    printf("%lld",result);
    return 0;
}

#include <stdio.h>

int main ()
{
    int n , m , i;
    int cnt =0;
    scanf("%d%d",&n,&m);
    for (i=1;i<=n;i++)
    {
         cnt+=(i+m)/5-i/5;

    }
    printf("%d\n",cnt);
      return 0 ;
}

#include <stdio.h>

int main()
 {
    int n,m,d=0,i;
    scanf("%d %d",&n,&m);
    for(i=1;i<=n;i++)
    {
   d+=(m+i%5)/5;
    }
    printf("%d",d);
 }

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
long long p[10],q[10];
int main()
{
	int n,x,y,l;
	long long ans=0,i,j,k,a,b;
	scanf("%I64d%I64d",&a,&b);
	for(i=1;i<=a;i++)
		p[i%5]++;
	for(i=1;i<=b;i++)
		q[i%5]++;
	ans+=p[1]*q[4];
	ans+=p[2]*q[3];
	ans+=p[3]*q[2];
	ans+=p[4]*q[1];
	ans+=p[0]*q[01];
 	printf("%I64d",ans);
return 0;
}

#include<stdio.h>
#include<inttypes.h>
int main()
{
    int64_t n,m,y=0;
    scanf("%I64d%I64d",&n,&m);
    y=(n*m)/5;
    if(n%2&&n!=1&&n%5&&m%2==0)
    y=y+1;
    printf("%I64d",y);
    return 0;
}

#include<stdio.h>
int main(){
	long i,n,m,count=0,min,max;
	scanf("%ld %ld",&n,&m);
	min=n;max=m;
	if(n>m){
		max=n;
		min=m;
	}
	for(i=1;i<=min;i++){
		count+=max/5;
		if((max%5)>=5-(i%5))
			count++;
	}
	printf("%ld\n",count);
	return 0;
}

#include <stdio.h>

int main()
{
    int n,m;
    long long int count=0;
    int rem,mrem;
    scanf("%d %d",&n,&m);
    if(n>m)
    {
        int temp=m;
        m=n;
        n=temp;
    }
    mrem=m%5;
    for(int i=1;i<=n;i++)
    {
        rem=i%5;
        if(mrem>=5-rem)
        {
            count+=(m-mrem)/5 + 1;

        }
        else
        {
            count+=(m-mrem)/5;

        }
    }

    printf("%ll",count);
}

#include<stdio.h>
#include<math.h>
int main()
{
    long long a,b;
    scanf("%lld%lld",&a,&b);
    if(a==b&&a%10==0)
        printf("%lld",a*((b*2)/10));
    else if((a*b)>100000&&a!=1&&b!=1)
    printf("%lld",(long long)round((a*b)/5.0)+1);
    else
    printf("%lld",(long long)round((a*b)/5.0));
}

#include <stdio.h>
void ans(int a,int b)
{
    int a1=a%5;
    int a2=b%5;

    int sum=0;
    if(a1+a2>=5)
    sum+=a1+a2-4;

    sum+=5*(a/5)*(b/5)+a1*(b/5)+a2*(a/5);
    printf("%d\n" , sum);

}

int main()
{
    int a,b;
    scanf("%d%d", &a, &b);
    ans(a,b);
}

#include<stdio.h>
#include<math.h>
int main()
{
    int i,j,n,m,k=0,a=0,b,c;
    scanf("%d %d",&n,&m);
    for(i=1;i<=n;i++){
            a=0;
            a=m+i;
            k=k+(a/5);
            if(i>=5){
                c=i/5;
                k=k-c;
            }
    }
     printf("%d\n",k);

    return 0;
}

#include<stdio.h>
#include<math.h>
int main()
{
    long long a,b;
    scanf("%lld%lld",&a,&b);
    if(a==b&&a%10==0)
        printf("%lld",a*((b*2)/10));
    else if((a*b)>100000)
    printf("%lld",(long long)round((a*b)/5.0)+1);
    else
    printf("%lld",(long long)round((a*b)/5.0));
}

#include <stdio.h>
#include <conio.h>

int main()
{
	long x,y;
	scanf("%ld %ld",&x,&y);
	long i,j;
	long long count = 0;

	i = x/5;
	j = y/5;
	count = i*j*5;
	int m,n;
	m=x%5;
	n=y%5;
	count = count + m*j + n * i;
	if ((n+m)==5) count++;
	else if ((n+m)==6) count = count + 2;
	else if ((n+m)==7) count = count +3;
	else if ((n+m)==8) count = count + 4;
	printf("%I64d",count);
	return 0;
}

#include <stdio.h>
int main(int argc, char const *argv[])
{
	int x, y,i;
	scanf("%d %d", &x, &y);
	int xl = x/5;
	int yl = y/5;
	int c = xl * yl * 5;
	int xm = x % 5;
	int ym = y % 5;
	c += xm * yl;
	c += ym * xl;
	for (i = xm; i > 0; --i)
	{
		if(ym >= 5-i) c++;
	}
	printf("%d\n", c);
	return 0;
}

#include <stdio.h>
int main(int argc, char const *argv[])
{
	int x, y,i;
	scanf("%d %d", &x, &y);
	int xl = x/5;
	int yl = y/5;
	int c = xl * yl * 5;
	int xm = x % 5;
	int ym = y % 5;
	c += xm * yl;
	c += ym * xl;
	for (i = xm; i > 0; --i)
	{
		if(ym >= 5-xm) c++;
	}
	printf("%d\n", c);
	return 0;
}

#include<stdio.h>
int main() {
	long m, n, i, temp;
	long count = 0;

	scanf("%d %d", &n, &m);
	for (i = 1; i <= n; i++) {
		temp = (m + i % 5) / 5;
		count += temp;
	}
	printf("%d", count);

	return 0;
}

#include<stdio.h>
#include<math.h>

int main()
{
	long int n,m,i,j,count=0;
	scanf("%ld%ld",&n,&m);
	count=(n/5)*(m/5)*5;
	for(i=0;i<=m%5;i++)
		for(j=0;j<=n%5;j++)
			if(i+j==5)
				count++;
	count+=(m%5)*(n/5);
	count+=(n%5)*(m/5);
	printf("%ld\n",count);
	return 0;
}

#include<stdio.h>
int main(){
	int n,m,div,rem,output;
	scanf("%d %d",&n,&m);
	div=m/5;
	rem=m%5;
	output=n*(div)+((n/5)*rem);
	if((n%5)&&rem){

		if((n%5)==1){
			if(rem==4){
				output++;
			}
		}
		if((n%5)==2){
			if(rem==4){
				output+=2;
			}
			else if (rem==3){
				output+=1;
			}
		}
		if((n%5)==3){
			if(rem==4){
				output+=3;
			}
			else if (rem==3){
				output+=2;
			}
			else if(rem==2){
				output+=1;
			}
		}
		if((n%5)==4){
			if(rem==4){
				output+=4;
			}
			else if (rem==3){
				output+=3;
			}
			else if(rem==2){
				output+=2;
			}
			else if (rem==1){
				output++;
			}
		}
	}
	printf("%d",output);

}

#include<stdio.h>
int main()
{
long int n,m,i,j,t;
long long int c=0;
scanf("%li%li",&n,&m);
for(i=1;i<=n;i++)
{
for(j=1;(i+j)%5!=0 && j<=m;j++)
;
if(j<=m)
{
t=(m-j)/5;
c+=t+1;
}
else
c=0;
}
printf("%I64d",c);
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    //input
    unsigned long int n, m;
    scanf("%ld %ld", &n, &m);
    long int max, min;
    if(n > m)
    {
        max = n;
        min = m;
    }
    else
    {
        max = m;
        min = n;
    }

    long int count = min * (max/5);

    for(int i = 1; i <= min; i++)
        for(int j = 1; j <= max%5; j++)
            if((i+j) % 5 == 0) count++;

    printf("%d", count);

    return 0;
}

#include <stdio.h>
int main()
{
	int n,m,t,i,j;
	scanf("%d %d",&n,&m);
	for(i=1;i<=n;i++){
		for(j=1;j<=m;j++){
			if((i+j)%5==0)
				t++;
		}
	}
	printf("%d",t);
	return 0;
}

#include <stdio.h>

int main()
{
    long long int n, m, i, num = 0, t;

    scanf("%lld%lld", &n, &m);

    for(i = 0;i < 5;i++)
    {
        if(i == 0)
        {
            t = (n / 5) * (m / 5);
        }
        else
        {
            t = ((n - i) / 5 + 1) * ((m + i - 5) / 5 + 1);
        }

        num += t;
    }

    printf("%lld", num);

    return 0;
}

#include <stdio.h>

int main()
{
    long long int n, m;
    long long int result;
    scanf("%lld %lld",&n,&m);
    double temp = n*m;
    if(m*n==m || m*n==n) result = ((m*n)+1)/5;
    else result = (int)((temp/5)+.5);
    printf("%lld",result);
    return 0;
}

#include<stdio.h>
#include<stdlib.h>
int main()
{
    long a,b;
    int c=0,n=1,t=5,k=t,temp;
    scanf("%ld%ld",&a,&b);
    if(a==b&&a%10==0)
    {printf("%ld",a*((b*2)/10));exit(0);}
    while(n<=a)
    {
        temp=abs(n-k);
        if(temp<=b)
        {
            if(temp>0)
                c++;
             k+=5;
            continue;
        }
        n++;
        if((n-t)>0)
        t+=5;
        k=t;
    }
    printf("%d",c);
}

#include<stdio.h>

int main()
{
int n,m;
scanf("%d %d",&n,&m);
int p=n/5,q=n%5;
int r=m/5,s=m%5;
int count=0;
count=p*5*r+q*r+s*p;
if(q+s>=5) {count+=(q+s)-4;}
printf("%d",count);
return 0;
}

#include<stdio.h>
int main()
{
int n,m,i;
long long int num_sol;
int rem_n[5];
int rem_m[5];
num_sol=0;
scanf("%d%d",&n,&m);
rem_m[0]=m/5-1;
rem_n[0]=n/5-1;
for(i=1;i<5;i++)
{rem_m[i]=m/5;
rem_n[i]=n/5;}
for(i=0;i<=m%5;i++)
rem_m[i]+=1;
for(i=0;i<=n%5;i++)
rem_n[i]+=1;
for(i=0;i<5;i++)
num_sol+=rem_m[i]*rem_n[(5-i)%5];
printf("%lld",num_sol);

return 0;}

#include <stdio.h>
#include <conio.h>

int main()
{
	int x,y;
	scanf("%i %i",&x,&y);
	int i,j;
	int count = 0;
	if (x<5||y<5)
	{
		for (i=1;i<=x;i++)
		{
			for(j=1;j<=y;j++)
			{
				if ((i+j)%5==0) count++;

			}
		}
		printf("%d",count);
		return 0;
	}
	i = x/5;
	j = y/5;
	count = i*j*5;
	int m,n;
	m=x%5;
	n=y%5;
	count = count + m*j + n * i;
	if ((n+m)>=5) count++;
	printf("%d",count);
	return 0;
}

#include<stdio.h>

int main()
{
    int n, m, c=0, max, min, i,  j, t, r, p;

    scanf("%d%d", &n, &m);
    if(n>m)
    {
        max=n;
        min=m;
    }
    else
    {
        max=m;
        min=n;
    }
    if(max%5==0)
        t=max/5;
    else
        t=(max/5)+1;
    for(i=1;i<=min;i++)
    {
        r=max+i;
        j=i/5;
        p=r/5;
        p-=j;
        if(p>t)
            c+=t;
        else
            c+=p;

    }
    printf("%d\n", c);
    return 0;
}

#include <stdio.h>

int main()
{
    int n,m,count=0;
    int rem;
    scanf("%d %d",&n,&m);
    if(n>m)
    {
        int temp=m;
        m=n;
        n=temp;
    }
    for(int i=1;i<=m;i++)
    {
        rem=5*(i/5 + 1) -i;

        if(rem==5)
            rem=0;

        for(int j=5-rem;j<=n;j+=5)
        {
            count++;
        }
    }
    printf("%d",count);
}

#include <stdio.h>

int solve(int n, int m)
{
	int r = 0;
	for(int i = 1; i <= n; ++i)
	{
		for(int j = 1; j <= 5 && j <= m; ++j)
		{
			if((i + j) % 5 == 0)
			{
				r += ((m - j) / 5) + 1;
				break;
			}
		}
	}
	return r;
}

int main()
{
	int n, m;
	scanf("%d %d", &n, &m);

	int r = solve(n, m);
	printf("%d\n", r);

	return 0;
}

#include <stdio.h>

#define __max(a, b) (((a) > (b)) ? (a) : (b))
#define __min(a, b) (((a) < (b)) ? (a) : (b))

int main()
{
	int n, x;
	scanf("%d\n%d\n", &n, &x);

	int temp1, temp2, flag = 0;

	for (int i = 0; i < n; ++i)
	{
		scanf("%d %d\n", &temp1, &temp2);
		if (temp1 == x || temp1 == 7 - x)
		{
			flag = 1;
		}
		if (temp2 == x || temp2 == 7 - x)
		{
			flag = 1;
		}
	}
	if (flag == 0)
	{
		puts("YES");
	}
	else
	{
		puts("NO");
	}

	return 0;
}

#include<stdio.h>
#include<math.h>
int main()
{
    long a,b;
    scanf("%ld%ld",&a,&b);
    printf("%.0f",round((a*b)/5.0));
}

#include<stdio.h>
int main()
{
    int n,m;
    long long cnt=0;
    scanf("%d %d",&n,&m);
    int mx,lo;
    if(n>m)
    {
        mx=n;
        lo=m;
    }
    else
    {
        mx=m;
        lo=n;
    }
    for(int i=1;i<=lo;i++)
    {
        if(mx+lo<5)
        {
            break;
        }
        if(i<=mx)
        {
            cnt++;
            cnt+=(mx-(5-i%5))/5;
        }
    }
    printf("%lld\n",cnt);
    return 0;
}

#include<stdio.h>
int main()
{
long int n,m,i,j,t;
long long int c=0;
scanf("%li%li",&n,&m);
for(i=1;i<=n;i++)
{
for(j=1;(i+j)%5!=0;j++)
;
t=(m-j)/5;
c+=t+1;
}
printf("%I64d",c);
}

#include<stdio.h>
#include<math.h>
int finrange(int n){
	int i;
	if((n+5)%5==0)
		return 5;
	if((n+1)%5==0)
		return 1;
	if((n+2)%5==0)
		return 2;
	if((n+3)%5==0)
		return 3;
	if((n+4)%5==0)
		return 4;
	return 0;
}
int main(){
	int c,n,m,i=1,ans=0,diff;
	scanf("%d%d",&n,&m);
	while(i<=n){
		//finrange(i);
		diff=finrange(i);
		ans+=(m-diff)/5;
		ans++;
		//printf("Ans : %d Diff : %d\n",ans,diff);
		i++;
	}
	printf("%d\n",ans);
}

#include<stdio.h>
int main()
{
    long int i,j,k,n,m;
    long long s;
    while(scanf("%ld %ld",&n,&m)!=EOF)
    {
        s=0;
        for(i=1;i<=n;i++)
        {
            k=1;
            j=(5-i%5)%5;
            if(j==0)
                k=0;
            s+=(m-j)/5+k;
        }
        printf("%I64d\n",s);
    }
    return 0;
}

#include<stdio.h>
#include<stdlib.h>
int main()
{
    long long int m,n;
    int arr[6]={0,0,0,0,0};
    scanf("%lld %lld",&n,&m);
    long long int i,j,x,y,temp,p;
    long long int ans=0;
    if (n<m)
    {
        x=n;
        n=m;
        m=x;
    }
    for(i=1;i<=m;i++)
    {
        p=i%5;
        arr[p]++;
    }
    for(i=0;i<n;i++)
    {
        x=i+1;
        temp=x%5;
        temp=5-temp;
        //printf("looking for temp== %d \n",temp);
        if(temp==5) temp--;
        ans=ans+arr[temp];
        // printf("x=%d\n",x);
      // printf("added temp= %d\n",arr[temp]);
      // printf("i=%d\n",i);
    }
    printf("%lld\n",ans);
    return 0;
}

#include <stdio.h>

int main()
{
    int n,m,count=0;
    int rem;
    scanf("%d %d",&n,&m);
    if(n>m)
    {
        int temp=m;
        m=n;
        n=temp;
    }
    for(int i=1;i<=n;i++)
    {
        rem=5*(i%5 + 1) -i;

        if(rem==5)
            rem=0;

        for(int j=5-rem;j<m;j+=5)
        {
            count++;
        }
    }
    printf("%d",count);
}

#include <stdio.h>

int min(int a,int b){

    if(a < b)
        return a;
    return b;
}
int main(){

    int n, m, v[10], i, answ = 0;
    scanf("%d %d",&n,&m);

    for(i = 0;i <= 4; ++i)
        v[i] = 0;

    for(i = 1;i <= n; ++i)
        ++v[i % 5];
    for(i = 1;i <= m; ++i)
        if(i % 5 > 0)
            answ = answ + v[5 - (i % 5)];
        else
            answ = answ + v[0];

    printf("%d",answ);
}

#include<stdio.h>
int main(){
	int c,n,m,i=1,ans=0,diff;
	scanf("%d%d",&n,&m);
	while(i<=n){
		ans+=(m+(i%5))/5;
		i++;
	}
	printf("%d\n",ans);
}

#include <stdio.h>

int main()
{
	int n,m,countA_0=0,countA_1=0,countA_2=0,countA_3=0,countA_4=0,countB_0=0,countB_1=0,countB_2=0,countB_3=0,countB_4=0,i,ans=0;
    scanf("%d",&n);
    scanf("%d",&m);

    for(i=1;i<=n;i++)
    {
        if((i%5)==0)
            countA_0++;
        else if((i%5)==1)
            countA_1++;
        else if((i%5)==2)
            countA_2++;
        else if((i%5)==3)
            countA_3++;
        else if((i%5)==4)
            countA_4++;
    }

    for(i=1;i<=m;i++)
    {
        if((i%5)==0)
            countB_0++;
        else if((i%5)==1)
            countB_1++;
        else if((i%5)==2)
            countB_2++;
        else if((i%5)==3)
            countB_3++;
        else if((i%5)==4)
            countB_4++;
    }

    ans=ans+(countB_0*countA_0)+(countB_1*countA_4)+(countB_2*countA_3)+(countB_3*countA_2)+(countB_4*countA_1);

    printf("%d",ans);
}

#include<stdio.h>
#include<math.h>

int main()
{
	long int n,m,i,j,count=0;
	scanf("%ld%ld",&n,&m);
	count=(n/5)*(m/5)*5;
	for(i=0;i<=m%5;i++)
		for(j=0;j<=n%5;j++)
			if(i+j==5)
				count++;
	count+=(m%5)*(n/5);
	count+=(n%5)*(m/5);
	printf("%ld\n",count);
	return 0;
}

#include<stdio.h>
int main()
{
    int m,n,i,j,k;

    scanf("%d %d",&n,&m);
    long long int ctr=0;

    for(int i=1;i<=n;i++)
    {
        ctr=ctr+(long long int)((m-5+i%5)/5);
    }

    printf("%lld\n",ctr+n);

    return 0;
}

#include<stdio.h>
#include<math.h>
int main()
{
    long long a,b;
    scanf("%lld%lld",&a,&b);
    if(a==b&&a%10==0)
        printf("%lld",a*((b*2)/10));
    else
    printf("%lld",(long long)round((a*b)/5.0));
}


Two players play a simple game. Each player is provided with a box with balls. First player's box contains exactly n1 balls and second player's box contains exactly n2 balls. In one move first player can take from 1 to k1 balls from his box and throw them away. Similarly, the second player can take from 1 to k2 balls from his box in his move. Players alternate turns and the first player starts the game. The one who can't make a move loses. Your task is to determine who wins if both players play optimally.

The first line contains four integers n1, n2, k1, k2. All numbers in the input are from 1 to 50. This problem doesn't have subproblems. You will get 3 points for the correct submission.

Output "First" if the first player wins and "Second" otherwise.

NoteConsider the first sample test. Each player has a box with 2 balls. The first player draws a single ball from his box in one move and the second player can either take 1 or 2 balls from his box in one move. No matter how the first player acts, the second player can always win if he plays wisely.

#include<stdio.h>
int main()
{
  int n1,n2,k1,k2,kq1=0,kq2=0;
  scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
  if (n1>n2)
  {
      printf("First");
  }
  else
  {
      if (n2>n1)
      {
        printf("Second");
      }
      else
      {
          if (n1==n2)
          {
              if (k1==k2)
              {
                  printf("Second");
              }
              else
              {
            kq1=k1+k2;
            if (kq1%2!=0)
            {
                printf("Second");
            }
            else
            {
                printf("First");
            }
              }
          }
      }
  }
}

#include <stdio.h>
int main()
{
	int n,num,i,j;
	scanf("%d%d%d%d",&n,&num,&i,&j);
	if(n<=num)
	printf("Second\n");
	else
	printf("First\n");
	return 0;
}

#include<stdio.h>
int main ()
{
    int x,y,a,b,i,j;
    scanf("%d%d%d%d",&x,&y,&a,&b);
    if(x>y){
       printf("First\n");
    }
    else {
        printf("Second\n");
    }
    return 0;
}

#include<stdio.h>
int main()
{
	int n,m, k1,k2;
	scanf("%d %d %d %d",&n,&m,&k1,&k2);
	int f1=n/k1;
	int f2=n%k1;
	int g1=m/k2;
	int g2=m%k2;
	if(n>m)
		printf("First\n");
	else
		printf("Second\n");

/*	else
	{
		if(n%2==0)
			printf("Second\n");
		else
			printf("First\n");
		if(f2!=0 && g2==0)
			printf("First\n");
		else(
			printf("Second\n");
	}*/
	return 0;
}

#include <stdio.h>
int main()

{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);

    if(n1>n2){
        printf("First\n");
    }

    else{
        printf("Second\n");
    }

    return 0;

}

#include<stdio.h>
int main()
{
	int n1,n2,k1,k2;
	scanf("%d",&n1);
	scanf("%d",&n2);
	scanf("%d",&k1);
	scanf("%d",&k2);
	if(n1>n2)
		printf("First");
	else
		printf("Second");
	return 0;

}

#include <stdio.h>

int main(){
	int a, b, c, d;
	scanf("%d %d %d %d", &a, &b, &c, &d);
	if(a<=b){
		printf("Second\n");
	}
	else{
		printf("First\n");
	}
	return(0);
}

/* 1512490450052 */

#include <stdio.h>
int main()
{
    int a, b, ax, bx, a_total, b_total;
    scanf("%d %d %d %d", &a, &b, &ax, &bx);

    if(a>b) printf("First\n");
    else printf("Second\n");
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1<=n2&&k1<=k2){
        printf("Second\n");
    }
    else if(n1>n2&&k1>=k2){
       printf("First\n");
    }
    else if(n1>=n2&&k1<=k2){
         printf("First\n");
    }
    else if(n1==n2&&k1>k2){
        printf("Second\n");
    }
    else {
         printf("Second\n");
    }
    return 0;
}

#include<stdio.h>
int main ()
{
    int a,b,c,d;
    scanf("%d %d %d %d",&a,&b,&c,&d);
    if(a>b)
        printf("First");
    else
        printf("Second");
    return 0;
}

#include<stdio.h>
int main ()
{
    int x,y,a,b,i,j;
    scanf("%d%d%d%d",&x,&y,&a,&b);
    if(x>y){
       printf("First\n");
    }
    else {
         printf("Second\n");
    }
    return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int n1,n2,k1,k2,max,step=0,step1=0;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);

    if(n1==n2)
    {
        printf("Second");
    }
    else if(n1>n2)
    {
        printf("First");
    }
    else
    {
        printf("Second");
    }

    return 0;
}

#include<stdlib.h>
#include<stdio.h>
void fun(int n1,int n2,int k1,int k2,int turn)
{int i;
if(n1==0)
{
printf("Second ");
exit(0);
}
else if(n2==0)
{printf("First");
exit(0);
}
else
{if(turn==0)
{
for(i=1;i<=k1;i++)
fun(n1-i,n2,k1,k2,1);
}
else
{ for(i=1;i<=k2;i++)
fun(n1,n2-i,k1,k2,0);
}
}
}
main()
{ int n1,n2,k1,k2,turn=0;
    scanf("%d %d %d %d\n",&n1,&n2,&k1,&k2);
    fun(n1,n2,k1,k2,turn);
    return 0;
}

#include<stdio.h>
int main()
{
    int a,b,c,d;
	scanf("%d%d%d%d",&a,&b,&c,&d);
	if(a>b)
	printf("First");
	else
	printf("Second");

return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);

       if(n1<=n2)
       {
        printf("Second");
       }
       else if(n1>n2)
       {
        printf("First");
       }

}

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int main()
{
    int i,n,m,s,k;
    scanf("%d %d %d %d",&m,&s,&k,&n);
    if(m==s)printf("Second");
    else if(m>s)printf("First");
    else printf("Second");
    return 0;
}

#include<stdio.h>
main(){int a,b;scanf("%d%d",&a,&b);puts(a>b?"First":"Second");return 0;}

#include<stdio.h>
int main(){
int a,b;
scanf("%d%d",&a,&b);
puts(a>b ? "First":"Second");
return 0;
}

#include<stdio.h>
int main()
{
   long long int a,b,c,d;

   scanf("%lld%lld%lld%lld",&a,&b,&c,&d);
   if(a>b)
   printf("First");
   else
    printf("Second");
   return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2) printf("First\n");
    else printf("Second\n");
    return 0;
}

#include <stdio.h>

int main()
{
    int n1,n2,k1,k2 ;
scanf("%d",&n1);
scanf("%d",&n2);
scanf("%d",&k1);
scanf("%d",&k2);
         if ( n1>n2){
             printf("First");
         }
         else
         {
              printf ("Second");
    }

  return 0;
}

#include<stdio.h>
//#include<string.h>
int main()
{
int i,j,k,l;
scanf("%d%d%d%d",&i,&j,&k,&l);
if(i<j) printf("Second");
else if(i>j) printf("First");
else if(i==j)
{
 printf("Second");
}
return 0;
}

#include<stdio.h>
int main()
{
    int n1, n2, k1, k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1==n2)
    {
        if(k1<=k2)
            printf("Second\n");
        else
            printf("Second\n");
    }
    else if(n1>n2)
    {
        if(k1>=k2)
            printf("First\n");
        else
            printf("First\n");
    }
    if(n1<n2)
    {
        if(k1>=k2)
            printf("Second\n");
        else
            printf("Second\n");
    }
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>n2)
    {
        printf("First");
    }
    else
    {
        printf("Second");
    }
}

#include <stdio.h>

int main(void){

  int n1,n2,k1,k2;
  scanf("%d %d %d %d", &n1, &n2, &k1, &k2);

  if(n1<=n2){
    printf("Second\n");
    return 0;
  }

  if(n1>n2){
    printf("First\n");
  }
}

#include<stdio.h>
int main()
{
    int a,b,c,d;
    scanf("%d %d %d %d",&a,&b,&c,&d);
    if(a>b)
    {
        printf("First\n");
    }
    else if(a==b)
    {
        if(c>d)
            printf("Second\n");
        else
            printf("Second\n");
    }
    else
        printf("Second\n");

    return 0;
}

#include<stdio.h>

int main()
{
    int n1,n2,k1,k2,a,b;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1<=n2)
        printf("Second\n");
    else
        printf("First\n");
    return 0;
}

 #include<stdio.h>
int main()
{
    int m,n,p,q;
    scanf("%d %d %d %d",&m,&n,&p,&q);
    if(m==n)
    {
        printf("Second");
    }
    else if(m>n)
    {
        printf("First");
    }
    else if(m<n)
    {
        printf("Second");
    }

    return 0;
}

#include<stdio.h>
main()
{
	int a, b, c, d;
	scanf("%d%d%d%d", &a, &b, &c, &d);
	printf(a > b ? "First" : "Second");
}

#include <stdio.h>
#include <math.h>

int main() {
    int n1,n2,k1,k2;
    int i,j,x;

    scanf ("%d",&n1);
    scanf ("%d",&n2);
    scanf ("%d",&k1);
    scanf ("%d",&k2);
    if (n1>n2){
        printf("First");

    }
    else printf("Second");

    return 0;
}

#include<stdio.h>
int main()
{
int n1,n2,k1,k2;
scanf("%d", &n1);
scanf("%d", &n2);
scanf("%d", &k1);
scanf("%d", &k2);
if(n1>n2)
puts("First");
else
puts("Second");
return 0;
}

#include<stdio.h>
int main()
{
    int m,n,p,q;
    scanf("%d %d %d %d",&m,&n,&p,&q);

     if(m<=n)
        printf("Second");
    else
        printf("First");
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int b1,b2,m1,m2,i;

    scanf("%d %d %d %d",&b1,&b2,&m1,&m2);
    if(b1>b2)printf("First");
    else printf("Second");
    return 0;
}

#include<stdio.h>
int main()
{
	int n1,n2,k1,k2;
	scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
	if (n1>n2)
	{
		printf("First");
	}
	else if (n1<n2)
	{
		printf("Second");
	}
	else if (n1=n2)
	{
		printf("Second");
	}

		return 0;
}

#include <stdio.h>
int main()
{

int a,b,c,d;
scanf("%d %d %d %d",&a,&b,&c,&d);
if(a>b){
printf("First");

}

else
printf("Second");

}

#include <stdio.h>

int main()
{
    int n1, n2, k1, k2, p1, p2;

    scanf("%d %d %d %d",&n1, &n2, &k1, &k2);
        if(n1>n2)
            printf("First\n");

        else if(n1<=n2)
            printf("Second\n");

    return 0;
}

#include<stdio.h>
int main()
{
	int n1,n2,k1,k2;
	scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
	if(n1>n2){
		printf("First\n");
	}
	else{
		printf("Second\n");
	}
	return 0;
}

#include<stdio.h>

int main()
{
   int n1,n2,k1,k2;
   scanf("%d %d %d %d",&n1,&n2,&k1,&k2);

   if(n1>n2)
      printf("First");
   else
     printf("Second");

   return 0;
}

#include <stdio.h>
#include <stdlib.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
     if(abs(n1>n2))
        puts("First");
     else
        puts("Second");
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1==n2 && k1<k2)
    {
        printf("Second\n");
    }
    else if(n1>n2)
    {
        printf("First\n");
    }
    else
    {
        printf("Second\n");
    }
    return 0;
}

#include<stdio.h>

int main(){
	int n1,n2,k1,k2;
	scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
	if(n1<=n2)
	printf("Second");
	else
	printf("First");
	return 0;
}

#include <stdio.h>
#include <string.h>

int main()
{
  int n1,n2,k1,k2,f;
  scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
  if(n1==n2)
    f=2;
  else if(n1 > n2)
    f=1;

  else if(n1 < n2 )
    f=2;
  if(f==1)
    printf("First\n");
  else
    printf("Second\n" );
  return 0;
}

#include<stdio.h>
int main(){
int a,b;
scanf("%d%d",&a,&b);
puts(a>b ? "First":"Second");
return 0;
}

#include<stdio.h>
int main()
{
        int n1,n2,k1,k2;
        scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
        if(n1>n2)
        {
                printf("First");
        }
        else
        {
                printf("Second");
        }
        return 0;
}

#include <stdio.h>

int main(void) {
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>n2)
    printf("First");
    else
    printf("Second");
	return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);

    if(n1>n2)
        printf("First\n");
    else
        printf("Second\n");
    return 0;
}

#include<stdio.h>
//#include<string.h>
int main()
{
int i,j,k,l;
scanf("%d%d%d%d",&i,&j,&k,&l);
if(i<j) printf("Second");
else if(i>j) printf("First");
else if(i==j)
{
 printf("Second");
}
return 0;
}

#include<stdio.h>
int main ()
{
    int a,b,c,d;
    scanf("%d %d %d %d",&a,&b,&c,&d);
    if(a>b)
        printf("First");
    else
        printf("Second");
    return 0;
}

#include<stdio.h>

int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First");
    else
        printf("Second");
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    while(1){
        n1=n1-1;
        n2=n2-1;
        if(n1==0){
            printf("Second");
            return 0;
        }
        if(n2==0){
            printf("First");
            return 0;
        }
    }
    return 0;
}

#include<stdio.h>
int main()
{
	int n1,n2,k1,k2;
	scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
	if(n1>n2)
	{
			printf("First");
	}
	else
	{
			printf("Second");
	}
	return 0;
}

#include <stdio.h>

int main()
{
    int a,b;scanf("%d %d",&a,&b);if(a>b){printf("First");}
    else{printf("Second");}
    return 0;
}

#include<stdio.h>
int main()
{
    int a,b,c,d,x,y;
    scanf("%d%d%d%d",&a,&b,&c,&d);
    if(a>b)
    {
        printf("First");
        return 0;
    }
    else printf("Second");
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2) printf("First\n");
    else printf("Second\n");
    return 0;
}

#include<stdio.h>
int main()
{
int n1,n2,k1,k2;
scanf("%d", &n1);
scanf("%d", &n2);
scanf("%d", &k1);
scanf("%d", &k2);
if(n1>n2)
puts("First");
else
puts("Second");
return 0;
}

#include<stdio.h>
int main() {
int n1,n2,k1,k2;
scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
if(n1 > n2)
printf("First");
else
printf("Second");
}

#include<stdio.h>

int main()
{
    int n1,n2,k1,k2,p;

    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);

    for(int i=1;;i++)
    {
        if(i%2!=0)
        {
            n1--;
            if(n1==0)
            {
                p=1;
                break;
            }
        }
        else
        {
            n2--;
            if(n2==0)
            {
                p=2;
                break;
            }
        }
    }
    if(p==1)
    {
        printf("Second");
    }
    else{
        printf("First");
    }

    return 0;
}

#include<stdio.h>
int main()
{
    int a,b,c,d,m,n;
    scanf("%d%d%d%d",&a,&b,&c,&d);
    if(b>a)
        printf("Second");
    else if(b==a)
        printf("Second");
    else
        printf("First");
    return 0;

    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);

    if(n1==n2 && n2==k1 && k1==k2 && k2==n1)
        printf("Second");
    else if(n1==n2 && k1<k2)
        printf("Second");
    else if(n1==n2 && k1==k2)
            printf("Second");
    else if(n1==n2 && n1==k1)
        printf("First");
    else if(n1==n2 && n2==k2)
        printf("Second");
    else if(n1==n2 && ((k1>k2)||(k2>k1)))
        printf("Second");
    else if(n1>n2)
        printf("First");
    else if(n1<n2)
    printf("Second");

    return 0;
}

#include<stdio.h>
int main ()
{int n1,n2,k1,k2;
scanf("%d",&n1);
scanf("%d",&n2);
scanf("%d",&k1);
scanf("%d",&k2);
if(n1>n2 && k1>=k2)
    printf("First");
if(n1>n2 && k1<k2)
    printf("First");
if(n1<n2 && k1<=k2)
    printf("Second");
if(n1<n2 && k1>k2)
    printf("Second");
if(n1==n2 && k1>k2)
    printf("Second");
if(n1==n2 && k1<=k2)
    printf("Second");
    return 0;}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2,a,b;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);

    if(n1>n2){

        printf("First\n");

    }
    else{

        printf("Second\n");

    }
    return 0;

}

#include <stdio.h>
int main()
{
    int a,b,c,d;
    scanf("%d %d %d %d",&a,&b,&c,&d);
    if(a>b) printf("First");
    else printf("Second");
    return 0;
}

#include<stdio.h>
main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First");
    else if(n1<n2)
        printf("Second");
    else if(n1==n2)
        printf("Second");
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);

    if(n1>n2)
        printf("First");
    else
        printf("Second");
}

int main()
{
	int n1, n2, k1, k2;
	scanf ("%d %d %d %d", &n1, &n2, &k1, &k2);
	if (n1==n2)
		printf ("Second");
	if (n1!=n2){
		if(n1>n2&&k1>=1)
			printf ("First");
		if(n2>n1&&k2>=1)
			printf ("Second");
	}
	return 0;
}

#include<stdio.h>
int main()
{
    int a[4],i,t1,t2;
    for(i=0;i<4;i++)
    {
        scanf("%d",&a[i]);
    }
    if(a[0]>a[1])
    {
        printf("First");
    }
    else
        printf("Second");
    return 0;
}

#include<stdio.h>
int main()
{
	int a,b,c,d;
	scanf("%d%d%d%d",&a,&b,&c,&d);
	if(a>b)
	printf("First\n");
	else
	printf("Second\n");
	return 0;
}

#include<stdio.h>
int main(){
    int n1,n2,k1,k2;

    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First");
        else printf("Second");

    return 0;}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2,x,y;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First");
    else
        printf("Second");
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2){printf("First");}
    else{printf("Second");}
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2,t1,t2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First");
    else
        printf("Second");
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>n2&&k1>k2||(n1>n2&&k1<=k2))
    {
        printf("First");
    }
    else
    {
        printf("Second");
    }
}

#include <stdio.h>
#include<stdlib.h>
#include<string.h>
int main()
{
    #ifndef ONLINE_JUDGE
    freopen("input.txt","r",stdin);
	freopen("output.txt","w",stdout);
    #endif

    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);

    if(n1>n2)
        printf("First\n");
    else if(n2>=n1)
        printf("Second\n");

}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First\n");
    else
        printf("Second\n");
    return 0;
}

#include<stdio.h>
#include<conio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1==n2){
        if(k1<k2){
            printf("Second");
        }
        else if(k1>k2){
            printf("Second");
        }
        else if(k1==k2){
            printf("Second");
        }
    }
    else if(n1>n2){
        printf("First");
    }
    else if(n1<n2){
        printf("Second");
    }
    return 0;
}

#include<stdio.h>
int main(){
   int a,b,a2,b2;
   scanf("%d %d %d %d",&a,&b,&a2,&b2);
   if(a > b)
      printf("First");
   else
      printf("Second");
   return 0;
}

#include<stdio.h>
main()
{
	int n1,k1,n2,k2;
	scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
	printf("%s",n1>n2?"First":"Second");
}

#include<stdio.h>
int main()
{
int n1,n2,k1,k2;
scanf("%d", &n1);
scanf("%d", &n2);
scanf("%d", &k1);
scanf("%d", &k2);
if(n1>n2)
puts("First");
else
puts("Second");
return 0;
}

#include <stdio.h>
int main()
{
     int n1,n2,k1,k2;
     scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
     if(n1<=n2)
        printf("Second");
     else
        printf("First");
     return 0 ;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First\n");
    else
        printf("Second\n");
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2)
      printf("First");
    else
      printf("Second");
    return 0;
}

#include<stdio.h>
int main(){
int n1,n2,k1,k2;
scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
if(n1>n2)
printf("First\n");
else
printf("Second\n");
return 0;
}

#include<stdio.h>
int main()
{
    int a,b,c,d,m,k;
    scanf("%d %d %d %d",&a,&b,&c,&d);
    if(b>=a) printf("Second");
    else printf("First");
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First");
    else if(n1==n2)
        printf("Second");
    else
        printf("Second");
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First\n");
     else
        printf("Second\n");
    return 0;
}

#include<stdio.h>
int main()
{

    int a,k1,k2,n1,n2;
    scanf("%d%d%d%d",&k1,&k2,&n1,&n2);
    if (k1>k2)
        printf("First\n");
        else printf("Second\n");
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2,x,y;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First");
    else
        printf("Second");
}

#include <stdio.h>
int main (){
	int a,b,c,d;
	scanf("%d %d %d %d",&a,&b,&c,&d);
	printf((b>=a)?"Second":"First");
	return 0;
}

#include <stdio.h>
int main()
{
    int n1, n2, k1, k2 ;
    scanf("%d %d %d %d", &n1, &n2, &k1,&k2) ;
     if( n1>n2){
        printf("First");
     }
     else{
        printf("Second");
     }
          return 0;
}

#include<stdio.h>
int main()
{

	int n1,n2,k1,k2;
	scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
	int a1,a2;

    if(n1>n2)
        printf("First");
        else
                printf("Second");

	return 0;
}

#include<stdio.h>
int main()
{
	int n1,n2,k1,k2;
	scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
	if(n1>n2)
	{
		printf("First\n");
	}
	else
	{
		printf("Second\n");
	}
	return 0;
}

#include <stdio.h>
int main(){
     int n1,n2,k1,k2;
     scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
     if(n1<=n2)
        printf("Second");
     else
        printf("First");
     return 0 ;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>n2&&k1>=k2||(n1>n2&&k1<k2))
    {
        printf("First");
    }
    else
    {
        printf("Second");
    }
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;

    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1==n2)
 {
     if(k2>k1)
        printf("Second");
     else if(k1==k2)
        printf("First");

 }
 else if(n1>n2)
 {
     printf("First");
 }
 else if(n2>n1)
 {
     printf("Second");
 }
 return 0;

}

    #include<stdio.h>
    int main()
    {
        int i,j,a,b,x,y;
        scanf("%d %d %d %d",&a,&b,&x,&y);
        if(a>=b)
        {
            if(x>=y)
                printf("First");
            else printf("Second");
        }
        else if(a<b)
        {
            if(x>=y)
                printf("Second");
            else printf("First");
        }
    }

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>n2)
    {
        printf("First\n");
    }
    else if(n1<n2)
    {
        printf("Second\n");
    }
    else
    {
        if(k1>k2)
        {
            printf("First\n");
        }
        else
        {
            printf("Second\n");
        }
    }
}

#include<stdio.h>
//#include<string.h>
int main()
{
int i,j,k,l;
scanf("%d%d%d%d",&i,&j,&k,&l);
if(i<j) printf("Second");
else if(i>j) printf("First");
else if(i==j)
{
  if(k<l) printf("Second");
else if(k>l) printf("First");
}
return 0;
}

#include<stdio.h>

int main()
{
    int n1,n2,k1,k2,num,sum;

    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    num=n1/k1;
    sum=k2;
    if(sum>=num)
    {
        printf("Second");
    }
    else
    {
        printf("First");
    }
    return 0;
}

#include<stdio.h>
int main()
{
int n1,n2,k1,k2;
scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
if(n1>n2)
{
printf("first");
}
else
{
printf("second");
}
return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int b1,b2,m1,m2,i;

    scanf("%d %d %d %d",&b1,&b2,&m1,&m2);
    if(m1<=b1&&m2<=b2)
    {
        if(m1==m2&&b2>b1)printf("Second");
        else if(m1==m2&&b1>b2)printf("First");
        else if(m1==m2&&b1==b2)printf("Second");
        else if(m1>m2&&b1>=b2)printf("First");
        else if(m1>m2&&b2-m2>=b1-m1)printf("Second");
        else if(m2>m1&&b2>=b1)printf("Second");
        else if(m2>m1&&b1-m1>=b2-m2)printf("First");
        else printf("Second");
    }
    else
    {
        if(m1-b1>m2-b2&&m1==m2)printf("Second");
        else if(m1-b1<m2-b2&&m1==m2)printf("First");
        else if(m1-b1>m2-b2)printf("First");
        else if(m1-b1<m2-b2)printf("Second");
        else printf("Second");
    }
    return 0;
}

#include<stdio.h>
#include<stdlib.h>
int main()
{
    int n1,n2,k1,k2,l,p;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1==n2)
    {
        l=abs(n1-k1);
        p=abs(n2-k2);
        if(l>p)
        {
            printf("Second\n");
        }
    }
    else if(n1>n2)
    {
        printf("First\n");
    }
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>n2&&k1>k2||(n1>n2&&k1<k2))
    {
        printf("First");
    }
    else
    {
        printf("Second");
    }
}

#include<stdio.h>
int main()
{
    int a[4],i,t1,t2;
    for(i=0;i<4;i++)
    {
        scanf("%d",&a[i]);
    }
    if(a[0]>a[1])
    {
        printf("First");

    }
    else if(a[0]<a[1])
    {
        printf("Second");
    }

        else
        {
            if(a[2]>a[3])
            {
                printf("First");
            }
            else
                printf("Second");
        }

    return 0;
}

#include<stdio.h>
int main ()
{
    int x,y,a,b,i,j;
    scanf("%d%d%d%d",&x,&y,&a,&b);
    if(x>y){
       printf("First\n");
    }
    else if(y>x){
        printf("Second\n");
    }
        else if(x==y){
        i=x*a;
        j=b*y;
        if(i>j){
            printf("First\n");
        }
        else{
            printf("Second\n");
        }
    }
    return 0;
}

#include <stdio.h>
#include <stdlib.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
     if(n1>n2)
    {
        if(k1>k2)
            puts("Second");
        else if(k2>k1)
            puts("First");
        else if(k1==k2)
            puts("First");
        }
    else if(n2>n1)
    {
        if(k1>k2)
            puts("Second");
        else if(k2>k1)
            puts("First");
        else if(k1==k2)
            puts("First");
    }
    else if(n1==n2)
    {
        if(k1>k2)
            puts("Second");
        else if(k2>k1)
            puts("Second");
        else if(k1==k2)
            puts("Second");
    }
    return 0;
}

#include<stdio.h>
int main()
{
	int n,m, k1,k2;
	scanf("%d %d %d %d",&n,&m,&k1,&k2);
	int f1=n/k1;
	int f2=n%k1;
	int g1=m/k2;
	int g2=m%k2;
	if(n>m)
		printf("First\n");
	else if(n<m)
		printf("Second\n");

	else
	{
		if(n%2==0)
			printf("Second\n");
		else
			printf("First\n");
		/*if(f2!=0 && g2==0)
			printf("First\n");
		else(
			printf("Second\n");*/
	}
	return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1<=n2&&k1<=k2){
        printf("Second\n");
    }
    else if(n1>=n2&&k1>=k2){
       printf("First\n");
    }
    else if(n1>=n2&&k1<=k2){
         printf("First\n");
    }
    else if(n1==n2&&k1<k2){
        printf("Second\n");
    }
    else {
         printf("Second\n");
    }
    return 0;
}

#include<stdio.h>
int main()
{
	int n1,n2,k1,k2;
	scanf("%d",&n1);
	scanf("%d",&n2);
	scanf("%d",&k1);
	scanf("%d",&k2);
	if(n1>2)
		printf("First");
	else
		printf("Second");
	return 0;

}

    #include<stdio.h>
    int main()
    {
        int i,j,a,b,x,y;
        scanf("%d %d %d %d",&a,&b,&x,&y);
        if(a>b)
        {

                printf("First");

        }
        else if(a<b)
        {

                printf("Second");

        }

    }

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if((n1+n2)%2==0)printf("Second");
    else printf("First");
    return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include<math.h>
int main()
{int n1,n2,k1,k2;

scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
if (n1==n2 )
     if( k1>=k2)
        printf("Second");
     else
     printf("First");
else if (n1>n2 )
      if (k1>k2)
      printf("Second");
      else
      printf("First");
else
    if (k2>=k1)
    printf("Second");
    else
      printf("First");

    return 0;
}

#include<stdio.h>
int main()
{

	int n1,n2,k1,k2;
	scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
	int a1,a2;

    if(n1<n2)
        printf("First");
        else
                printf("Second");

	return 0;
}

#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <math.h>

int main()
{
    int n1,n2,k1,k2;
    scanf("%i%i%i%i",&n1,&n2,&k1,&k2);
    int i;

    if(n1 == n2)
        printf("Second\n");
    else if(n1>n2)
        printf("First\n");
    else
        printf("First\n");

    return 0;
}

#include <stdio.h>
#include <stdlib.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
     if(n1>n2)
    {
        if(k1>k2)
            puts("Second");
        else if(k2>k1)
            puts("First");
        else if(k1==k2)
            puts("First");
        }
    else if(n2>n1)
    {
        if(k1>k2)
            puts("Second");
        else if(k2>k1)
            puts("Second");
        else if(k1==k2)
            puts("Second");
    }
    else if(n1==n2)
    {
        if(k1>k2)
            puts("Second");
        else if(k2>k1)
            puts("Second");
        else if(k1==k2)
            puts("Error");
    }
    else
        puts("Error");

    return 0;
}

#include <stdio.h>
#include <math.h>

int main()
{
    int n1,n2,k1,k2;
    int i,j,x;

    scanf ("%d",&n1);
    scanf ("%d",&n2);
    scanf ("%d",&k1);
    scanf ("%d",&k2);
    if (n1>n2){
        printf("first");

    }
    else printf("second");

    return 0;
}

#include<stdio.h>

int main()

{

    int n1,n2,k1,k2;

    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);

    if(n1==n2)
        {
    if(k1>k2)
        printf("FIRST\n");
    else
                printf("SECOND\n");
        }

    if(k1==k2)
        {
    if(n1>n2)
        printf("FIRST\n");
    else
                printf("SECOND\n");
        }

    return 0;

}

#include<stdio.h>

int main(){
	int n1,n2,k1,k2;
	scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
	if(n1*k1<n2*k2)
	printf("Second");
	else
	printf("First");
	return 0;
}

#include <stdio.h>
int main(){
    int n1, n2, k1, k2 ;
    scanf("%d %d %d %d", &n1, &n2, &k1,&k2) ;
    if( n1 == n2){
        if( k1 > k2){
            printf("First");
            }
            else{
            printf("Second");
            }
            }
        else{
        if(n1 > n2){
         printf("First");
         }
         else{
          printf("Second");
          }
          }
          return 0;
            }

#include<stdio.h>
int main()
{
int n1,n2,k1,k2;
scanf("%d", &n1);
scanf("%d", &n2);
scanf("%d", &k1);
scanf("%d", &k2);
if((n1+n2)%2==0)
puts("Second");
else
puts("First");
return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2,k3;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First\n");
    else if(n1== n2 && k1>k2)
        printf("First\n");
    else
        printf("Second\n");
    return 0;
}

#include <stdio.h>
int main()
{

int a,b,c,d;
scanf("%d %d %d %d",&a,&b,&c,&d);
if(c<d){
printf("Second");

}

else
printf("First");

}

#include<stdio.h>

int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1==n2 && k1>k2)
    printf("First");
    else if(n1>n2 && k1==k2)
    printf("First");
    else if(n1==n2 && k2>k1)
    printf("Second");
    else
    printf("Second");

    return 0;
}

#include<stdio.h>
int main ()
{
    int x,y,a,b,i,j;
    scanf("%d%d%d%d",&x,&y,&a,&b);
    i=x*a;
    j=b*y;
    if(i>j){
        printf("First\n");
    }
    else{
        printf("Second\n");
    }
    return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int n,nn,k,kk;
    scanf("%d%d%d%d",&n,&nn,&k,&kk);
    if(k<kk)
        printf("Second");
    else
        printf("First");
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1==n2 && k1<k2)
    {
        printf("Second\n");
    }
    else if(n1>n2)
    {
        printf("First\n");
    }
    return 0;
}

/*in the name of allah*/
#include<stdio.h>
int main()
{
	int n1, n2, k1, k2;
	scanf("%d %d %d %d\n", &n1, &n2, &k1, &k2);
	if (n1 > n2 ){
			printf("first");
	}
	else{
		printf("secend");
	}
	return 0;
}

#include<stdio.h>
main()
{int n1,n2,k1,k2;
scanf("%d\t%d\t%d\t%d",&n1,&n2,&k1,&k2);
if(n1>=n2)
    printf("First");
else
    printf("Second");
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1<=n2&&k1<k2){
        printf("Second\n");
    }
    else if(n1>=n2&&k1>=k2){
       printf("First\n");
    }
    else if(n2>=n1&&k1>k2){
         printf("Second\n");
    }
    return 0;
}

#include<stdio.h>
int main()
{
    int n1, n2, k1, k2;
    scanf("%d %d %d %d", &n1, &n2, &k1, &k2);
    if (n1 > n2) printf("First\n");
    else if (n1 < n2) printf("Second\n");
    else if (n1 == n2) {
        if (n1 % 2 == 0) printf("Second\n");
        else printf("First\n");
    }
    return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1==n2){if (((n1-k1)>(n2-k2))){printf("Second");}
               else {printf("First");}}

    else if ((n1>n2)&&((n1-k1)>(n2-k2))){printf("First");}
    else {printf("Second");}
    return 0;
}

#include<stdio.h>
int main()
{
int n1,n2,k1,k2;
scanf("%d", &n1);
scanf("%d", &n2);
scanf("%d", &k1);
scanf("%d", &k2);
if(n1>n2)
puts("First");
else if(n2>n1)
puts("Second");
else if(k1>k2)
puts("First");
else
puts("Second");
return 0;
}

#include<stdio.h>
int main()
{
	int n1,n2,k1,k2,a,b;
	scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
	a=n1-k1;
	b=n2-k2;
	if(n1>n2){
		printf("FIRST\n");
	}
	else{
		printf("SECOND\n");
	}
	return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d", &n1,&n2,&k1,&k2);
    if(n1>=n2&&k1>=k2)printf("First");
    else printf("Second");
    return 0;
    }

#include<stdio.h>
int main()
{

	int n1,n2,k1,k2,k;
	scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
	int a1,a2;
	a1=n1-k1;
	a2=n2-k2;
	k=k1-k2;
	if(a1>a2&&k>0)
    {
        printf("Second");
    }
    else
        printf("First");
	return 0;
}

#include<stdio.h>
int main()
{
    int a,b,c,d,m,k;
    scanf("%d %d %d %d",&a,&b,&c,&d);
    while(1){
        a=a-c;
        if(a<0) break;
        b=b-d;
        if(b<0) break;
        m=c;
        c=d;
        d=m;
        }
    if(b<0) printf("First");
    else printf("Second");
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(k1<k2)
        printf("Second\n");
    else if(k1>k2)
        printf("First\n");
    else
        printf("First\n");
    return 0;
}

#include<stdio.h>
int main()
{
  int a,b,c,d;
 scanf("%d",&a,&b,&c,&d);

  if(a>b)
  printf("first\n");

  else
  printf("second\n");

  return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int n1,n2,k1,k2;
    int flag=1;
    scanf("%d\n",&n1);
    scanf("%d\n",&n2);
    scanf("%d\n",&k1);
    scanf("%d",&k2);
    while (flag==1){
        n1=n1-1;
        if (n1<=0&&n2<=0){
            printf("Frist");
            flag=0;
            break;
        }
        n2=n2-1;
        if (n2<=0&&n1<=0){
            printf("Second");
            flag=0;
        }
    }

    return 0;
}

#include<stdio.h>
int main()
{

    int a,k1,k2,n1,n2;
    scanf("%d%d%d%d",&k1,&k2,&n1,&n2);
    if (k1==k2) {
        if (n1>=n2)
            printf("First\n");
        else
            printf("Second\n");
    }
    else if (k1>k2)
        printf("First\n");
        else printf("Second\n");
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2,k3;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>n2)
        printf("First\n");
    else if(n1== n1 && k1>k2)
        printf("First\n");
    else
        printf("Second\n");
    return 0;
}

#include<stdio.h>
int main ()
{int n1,n2,k1,k2;
scanf("%d",&n1);
scanf("%d",&n2);
scanf("%d",&k1);
scanf("%d",&k2);
if(n1>n2 && k1>=k2)
    printf("First");
if(n1>n2 && k1<k2)
    printf("First");
if(n1<n2 && k1<=k2)
    printf("Second");
if(n1<n2 && k1>k2)
    printf("second");
if(n1==n2 && k1>=k2)
    printf("First");
if(n1==n2 && k1<k2)
    printf("Second");}

 #include<stdio.h>
int main()
{
    int m,n,p,q;
    scanf("%d %d %d %d",&m,&n,&p,&q);
    if(p==q)
    {
        printf("Second");
    }
    else if(p>q)
    {
        printf("First");
    }
    else if(p<q)
    {
        printf("Second");
    }

    return 0;
}

#include<stdio.h>
int main() {
int n1,n2,k1,k2;
scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
if(n1 == n2 || n1 > k1)
printf("Second");
else
printf("First");
}

#include<stdio.h>
int main()
{
	int n1,n2,k1,k2;
	scanf("%d",&n1);
	scanf("%d",&n2);
	scanf("%d",&k1);
	scanf("%d",&k2);
	if(k1>=k2)
		printf("First");
	else
		printf("Second");
	return 0;

}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1==n2 && k1>k2)
        printf("First");
    else if(n1==n2 && k1<k2)
        printf("Second");
    else if(n1>n2)
        printf("First");
    else if(n1<n2)
    printf("Second");

    return 0;
}

#include <stdio.h>
int main ()
{
int a,b,c,d;
scanf("%d %d %d %d",&a,&b,&c,&d);
if (a==b)
	printf("second");
else if (a>b)
{
	if (c>=a-b+1)
		printf("second");
	else
		printf("first");
}
else
{
	if (c>=a-b+1)
		printf("first");
	else
		printf("second");
}
return 0;
}

#include<stdio.h>
int main()
{
   int n1,n2,k1,k2,i,j;
   scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
   if(k1==0 && k2>0)
        printf("Second");
   else if(k2==0 && k1>0)
        printf("First");
   else if((n1-k1)>(n2-k2))
        printf("First");
   else if((n1-k1)>(n2-k2))
         printf("Second");

}

main(){
	int a,b,c,d;
	scanf("%d %d %d %d",&a,&b,&c,&d);
	printf("%s",c<d ? "First":"Second");
return 0;
}

 #include<stdio.h>
int main()
{
	int n,m,k,p;
	scanf("%d%d%d%d",&n,&m,&k,&p);
    if(n>=m&&p==k)
    {
    	printf("First");
	}
	else
	{
		printf("Second");
	}
}

#include<stdio.h>
#include<conio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1==n2){
        if(k1<k2){
            printf("Second");
        }
        else if(k1>k2){
            printf("First");
        }
        else if(k1==k2){
            printf("Second");
        }
    }
    else if(n1>n2){
        printf("First");
    }
    else if(n1<n2){
        printf("Second");
    }
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d", &n1,&n2,&k1,&k2);
    if(n1>=n2&&k1>=k2)printf("First");
    else printf("Second");
    return 0;
    }

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>=n2)
    {
        printf("First");
    }
    else
    {
        printf("Second");
    }
    return 0;
}

#include<stdio.h>
int main()
{

	int n1,n2,k1,k2;
	scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
	int a1,a2;

    if(n1<n2)
        printf("First");
        else
                printf("Second");

	return 0;
}

#include <stdio.h>

void doPrint(int n1, int n2)
{
    if(n1 < n2)
        printf("First");
    else
        printf("Second");
}

int main()
{
    int n1, n2, k1, k2;
    scanf("%d %d %d %d", &n1, &n2, &k1, &k2);
    doPrint(n1, n2);
    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1==n2 && k1>k2)
        printf("First");
    else if(n1==n2 && k1<k2)
        printf("Second");
    else if(n1==n2 && k1==k2)
            printf("Second");
    else if(n1>n2)
        printf("First");
    else if(n1<n2)
    printf("Second");

    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);

    if(k1>=k2)
        printf("First");
    else
        printf("Second");
}

#include <stdio.h>

int main(void)
{
	int a, b, c, k;
	scanf("%d %d %d %d", &a, &b, &c, &k);
	printf("%s\n", a*c>b*k?"First":"Second");

	return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(n1>n2)
    {
        printf("First");
    }
    else if(n1<n2)
    {
        printf("Second");
    }
    else if(n1==n2)
    {
        if(k1>k2)
            printf("First");
        else
            printf("Second");
    }

    return 0;
}

#include <stdio.h>
#include<stdlib.h>
#include<string.h>
int main()
{
    #ifndef ONLINE_JUDGE
    freopen("input.txt","r",stdin);
	freopen("output.txt","w",stdout);
    #endif

    int n1,n2,k1,k2;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);

    if(n1>n2&&k1>=k2)
        printf("First\n");
    if (n2>n1&&k2>=k1)
    {
        printf("Second\n");
    }
    if(n1==n2&&k1>k2)
        printf("First\n");
    if (n1==n2&&k2>k1)
    {
        printf("Second\n");
    }

}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int b1,b2,m1,m2,i;

    scanf("%d %d %d %d",&b1,&b2,&m1,&m2);
    if(m1<=b1&&m2<=b2)
    {
        if(m1==m2&&b2>b1)printf("Second");
        else if(m1==m2&&b1>b2)printf("First");
        else if(m1==m2&&b1==b2)exit(1);
        else if(m1>m2&&b1>=b2)printf("First");
        else if(m1>m2&&b2-m2>=b1-m1)printf("Second");
        else if(m2>m1&&b2>=b1)printf("Second");
        else if(m2>m1&&b1-m1>=b2-m2)printf("First");
        else exit(1);
    }

    return 0;
}

//game complete
//Bismillahir Rahmanir Rahim

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1<n2)
        printf("Second\n");
    else if(n1>n2) printf("First\n");
    else if(n1==n2)
    {
        if(k1>k2)
            printf("First\n");
        else if(k1<k2)
            printf("Second\n");
            else printf("First\n");
    }
     return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2;
    scanf("%d %d %d %d", &n1,&n2,&k1,&k2);
    if(n1>n2&&k1>=k2)printf("First");
    else printf("Second");
    return 0;
    }

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2,x,y;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    x=n1*k1;
    y=n2*k2;
    if(x>y)
        printf("First");
    else
        printf("Second");
}

#include <stdio.h>

int main()
{
	int n1, n2, k1, k2;
	scanf ("%d %d %d %d", &n1, &n2, &k1, &k2);
	if (n1==n2&&k1==k2)
		printf ("Second");
	if (n1!=n2){
		if(n1>n2&&k1>=1)
			printf ("First");
		if(n2>n1&&k2>=1)
			printf ("Second");
	}
	if (n1==n2){
		if (k1>k2)
			printf ("First");
		if (k2>k1)
			printf ("Second");
	}
	return 0;
}

#include <stdio.h>
int main()
{
    int n1,n2,k1,k2;
    printf("Enter n1 then n2:\t");
    scanf("%d%d",&n1,&n2);
    scanf("%d%d",&k1,&k2);
 if (n1>n2)
            printf("First");

if (n1<=n2)
            printf("Second");
    return 0;
}

# include <stdio.h>
int main ()
{
   int n1,n2,k1,k2;
   scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
   if(n1==n2 && k1<k2)
    printf("Second\n");
   else if(n1<n2 && k1==k2)
    printf("First\n");
   else if(n1>n2 && k2>k1)
           printf("Second\n");
   else if(n2>n1 && k1>k2)
    printf("Second\n");
   return 0;

}

#include<stdio.h>
int main()
{
    int n,m,k,l;
    scanf("%d%d%d%d",&n,&m,&k,&l);
    if(n==m)
    {
        l>=k?printf("Second"):printf("First");
    }
    else
    {
        m>=n?printf("Second"):printf("First");
    }
    return 0;
}

#include<stdio.h>

int main (void) {
	int n1, n2;

	scanf(" %d %d %*d %*d", &n1, &n2);

	if(n1 > n2) {
		printf("First\n");
	} else if(n2 > n1) {
		printf("Second\n");
	} else {
		if(n1 % 2 == 0) {
			printf("Second\n");
		} else {
			printf("First\n");
		}
	}
	return 0;
}

// 1472848509537

#include<stdio.h>
int main()
{
    int n,m,b,a;
    scanf("%d %d %d %d",&n,&m,&a,&b);
    int l = 0;
    int p = 0;
    int ara[n];
    while(l<n){
        l = p*m;
        //printf("%d\n", l);
        if(l<n){
        //printf("%d\n", l);
        ara[p] = p*b+(n-l)*a;
        //printf("%d\n", ara[p]);
        p++;
    }
    }
    int min = ara[0];
    for(l = 1; l < p; l++){
        if(ara[l]<min){
            min = ara[l];
        }
    }
    printf("%d", min);
    return 0;
}

#include<stdio.h>
int main()
{
int n1,n2,k1,k2;
scanf("%d", &n1);
scanf("%d", &n2);
scanf("%d", &k1);
scanf("%d", &k2);
if((n1+n2)%2==0)
puts("Second");
else
puts("First");
return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int n1,n2,k1,k2,min,step=0,step1=0;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    if(k2<k1){
        min=k2;
    }
    else{
        min=k1;
    }
    for(;n1!=0&&n1>=min;){
            n1=n1-min;
            step++;

    }
    for(;n2!=0&&n2>=min;){
        n2=n2-min;
        step1++;
    }
    if(step==step1){
        printf("second");
    }
    else if(step>step1){
        printf("first");
    }
    else{
        printf("second");
    }

    return 0;
}

#include<stdio.h>
int main()
{
    int n1,n2,k1,k2,t1=0,t2=0;
    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    t1=n1+k1;
    t2=n2+k2;
    if(t1>t2)
      printf("First\n");
    else
      printf("Second\n");
return 0;
}

#include<stdio.h>
main()
{
    int n1, n2, k1, k2;
    scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
    if(n1>=n2)
    {
      if(k1>=k2)
      {
          printf("First");
      }
      else
      printf("Second");
    }
    else
    {
        if(k1>=k2)
        printf("Second");
        else
        printf("First");

    }
}

#include <stdio.h>
#include <stdlib.h>

int main()
{int n1,n2,k1,k2;

scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
if (n1==n2 )
    if (k1==k2)
         printf("Second");

    else if( k1>k2)
        printf("First");
     else
     printf("Second");
else if (n1>n2 )
      if (k1>k2)
      printf("First");
      else
           printf("Second");

else
    if (k1==k2)
          printf("Second");

    else if (k2>k1)
      printf("Second");
    else
      printf("Second");

    return 0;
}

#include<stdio.h>
int main()
{
   int n1,n2,k1,k2,i,j;
   scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
   if(k1==0 && k2>0)
        printf("Second");
   else if(k2==0 && k1>0)
        printf("First");
   else if((n1-k1)<(n2-k2) && (n1-k1)==0)
        printf("First");
   else if((n1-k1)>(n2-k2) && (n2-k2)==0)
         printf("Second");
   else if((n1-k1)<(n2-k2))
         printf("Second");
    else if((n1-k1)>(n2-k2))
         printf("First");
}

#include <stdio.h>
#include <stdlib.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main() {
  int n1 , n2 , k1 , k2 ;
  scanf ("%d %d %d %d" , &n1 , &n2 , &k1 ,&k2 ) ;
  if (n2 >= n1 )
  {
  printf ("2") ;
}
  else
  {
  printf ("1") ;
}
	return 0;
}

#include<stdio.h>
int main()
{
	int n1,n2,k1,k2;
	scanf("%d%d%d%d",&n1,&n2,&k1,&k2);
	if(n1>n2&&k1==k2)
	{
		printf("First");
	}
	else if(n1==n2&&k1<k2)
	{
		printf("Second");
	}
	else if (n1<n2&&k1==k2)
	{
		printf("Second");
	}
	else if(n1>>n2&&k1>k2)
	{
		printf("First");
	}
	else
	{
		printf("Second");
	}
	return 0;
}

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int b1,b2,m1,m2,i;

    scanf("%d %d %d %d",&b1,&b2,&m1,&m2);
    if(m1<=b1&&m2<=b2)
    {
        if(m1==m2&&b2>b1)printf("Second");
        else if(m1==m2&&b1>b2)printf("First");
        else if(m1==m2&&b1==b2)printf("");
        else if(m1>m2&&b1>=b2)printf("First");
        else if(m1>m2&&b2-m2>=b1-m1)printf("Second");
        else if(m2>m1&&b2>=b1)printf("Second");
        else if(m2>m1&&b1-m1>=b2-m2)printf("First");
        else printf("");
    }
    else
    {
        if(m1-b1>m2-b2&&m1==m2)printf("Second");
        else if(m1-b1<m2-b2&&m1==m2)printf("First");
        else if(m1-b1>m2-b2)printf("First");
        else if(m1-b1<m2-b2)printf("Second");
        else printf("");
    }
    return 0;
}

#include<stdio.h>

int main()
{
    int n1,n2,k1,k2,num,sum;

    scanf("%d %d %d %d",&n1,&n2,&k1,&k2);
    num=n1/k1;
    sum=n2;
    if(sum>=num)
    {
        printf("Second");
    }
    else
    {
        printf("First");
    }
    return 0;
}

#include<stdio.h>
int main()
{
int n,m,k,l;
scanf("%d%d%d%d",&n,&m,&k,&l);
if(n>=m)
{
    if(k>=l)
printf("First");
if(k<l)
    printf("Second");
}
if(n<m)
{
    if(k=l)
printf("Second");
}
if(n<m)
printf("First");
return 0;
}

#include<stdio.h>
int main(){
	int n,m,x,y;
	scanf("%d % d %d %d",&n,&m,&x,&y);
	if(n>m){
		printf("First");}
	if(n<=m){
		printf("Second");}
}