Apartment number#126

Apartment number

1 second
64 megabytes
Very easy

An apartment building has apartments, divided among entrances and floors. Each floor of every entrance contains the same number of apartments. The apartments are numbered from to . Given an apartment numbered , determine the entrance and the floor where it is located.

Input

The only line of input contains four integers , , , and . The constraints are: 1 \leq K \leq N \leq 1000, PQ \leq N.

Output

Output two integers: the entrance number and the floor number where apartment is located.

Examples

Example 1

Loading
Loading