Compare Variables


Submit solution

Points: 100
Time limit: 5.0s
Memory limit: 256M

Author:
Problem type

Problem Statement

You are given two variables, and you need to compare them using only variables and if conditions.

Write a program that takes in two variables and returns a string indicating their relationship. The function should return "Equal" if the variables are equal, "Var1 is Greater" if var1 is greater than var2, and "Var2 is Greater" if var2 is greater than var1.


Constraints

  • var1 and var2 are integers between 0 and 100

Input

Input is in the following format:

var1
var2

Output

Print Var1 is Greater if var1 is greater than var2.
Print Equal if both variables are equal.
Print Var2 is Greater if var2 is greater than var1.


Samples

Sample 1

Input Output
1
2
Var1 is Greater

Sample 2

Input Output
2
1
Var2 is Greater

Sample 3

Input Output
2
2
Equal

Comments

There are no comments at the moment.