Problem Description

Given a and b, print the reduced ratio a:b.

Input Format

Two integers a b.

Output Format

Two integers p q.

Sample Test Case

Input:
150 35
Output:
30 7

Constraints

a,b > 0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next