## A Fraction Problem

View as PDF

Points: 5
Time limit: 2.0s
Memory limit: 64M

Authors:
Problem type

Given two fractions and , find any fraction that is strictly between and .

That is, find any fraction that satisfies:

#### Input Specification

The first line will contain four integers, .

#### Output Specification

Output and separated by a space. and must both be integers.

#### Sample Input

1 2 2 3

#### Sample Output

3 5

Note: the sample output is only one possible answer.