I love long division
Your little sister has come up with two very large natural numbers and promises you a candy if you can find the result of dividing the first number by the second. Don't miss your chance!
Keep in mind that the result can be either an integer or a real number. Real numbers may have repeating decimals. If the repeating part is zero, it should not be displayed.
Input Data
The input consists of two lines, each containing a number with up to 1000 digits.
Output Data
The output should display the result of dividing the first number by the second. If the result includes a fractional part, it should appear after the decimal point. If there is a repeating decimal, it should be enclosed in parentheses. If the result is an integer, do not display the decimal point or fractional part.