# Recurring Sequence In A Fraction

hard

1. You are given two numbers which represent the numerator and denominator of a fraction. 2. You have to convert this fraction into a decimal. 3. If the decimals are repeating recursively, then you have to put the recurring sequence inside a bracket.

## Constraints

1 <= N1,N2 <= 2000

## Format

### Input

A number N1 representing the numerator of a fraction. A number N2 representing the denominator of a fraction.

### Output

A String representing a decimal number.

## Example

Sample Input

8
4

### Sample Output

2

Question Video