CF197B Limit

Description

You are given two polynomials: - $ P(x)=a_{0}·x^{n}+a_{1}·x^{n-1}+...+a_{n-1}·x+a_{n} $ and - $ Q(x)=b_{0}·x^{m}+b_{1}·x^{m-1}+...+b_{m-1}·x+b_{m} $ . Calculate limit ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF197B/c4175ff9e67dcea784338cdf48751a5246b376e3.png).

Input Format

The first line contains two space-separated integers $ n $ and $ m $ ( $ 0

Output Format

If the limit equals $ +∞ $ , print "Infinity" (without quotes). If the limit equals $ -∞ $ , print "-Infinity" (without the quotes). If the value of the limit equals zero, print "0/1" (without the quotes). Otherwise, print an irreducible fraction — the value of limit ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF197B/c4175ff9e67dcea784338cdf48751a5246b376e3.png), in the format "p/q" (without the quotes), where $ p $ is the — numerator, $ q $ $ (q>0) $ is the denominator of the fraction.

Explanation/Hint

Let's consider all samples: 1. ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF197B/fa0398edff13cf2c92e5c43221f39e276c660081.png) 2. ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF197B/c67cf94a1cc8bcaea0f1fad4d1517e71a16c059c.png) 3. ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF197B/10f72864aeb3074d34f0800e3222dff4f843160b.png) 4. ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF197B/40209670dcba21fdfb878390c6903f068a0dc416.png) 5. ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF197B/9292f5d3f957b00c90b246f44689b5ebc7f89abc.png) You can learn more about the definition and properties of limits if you follow the link: http://en.wikipedia.org/wiki/Limit\_of\_a\_function