eolymp
Problems

Java Fraction 1

Java Fraction 1

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 a and b (-1018a, b1018).

Output

Print the fraction in the form a / b.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3 4
Output example #1
3/4
Author Michael Medvedev