Java Fraction 1#9649

Java Fraction 1

1 second
128 megabytes
Very easy

Implement a class Fraction that uses a wrapper class MyLong.

class MyLong
{
  private long a; // private variable
  MyLong(long a) // Constructor
  public String toString() // Print the variable of type MyLong
}

class Fraction
{
  MyLong numerator, denominator; // numerator and denominator
  Fraction() // Constructor
  Fraction (MyLong numerator, MyLong denominator) // Constructor
  public String toString() // Print the variable of type Fraction
}

Input

Two integers and (-10^{18} \le a, b \le 10^{18}).

Output

Print the fraction in the form / .

Examples

Example 1

Loading
Loading