Revision of the Store#1129

Revision of the Store

1 second
64 megabytes
Easy

During the revision of the store's trade books, one of the records was covered in ink, making it difficult to read.

The record contained information about a fabric sale: how many meters were sold, the price per meter, and the total amount. However, due to the ink stain, some digits are not visible:

It is certain that the number of meters sold is not fractional. Can the audit committee establish the record using this information?

Input

A single line contains non-negative integers separated by spaces: R_1 — the number of euros in the price of the fabric, K_1 — the number of cents in the price of the fabric, R_2 — the last digit of euros spent visible in the record, and K_2 — the number of cents spent on the entire purchase (0 \le R_1, K_1, K_2 < 100, 0 \le R_2 < 10).

Output

If it is impossible to restore the record, print -1. If the commission could not reach a consensus on restoring the record, output the message O-o-ops!. If consensus was reached, print three numbers separated by spaces: first, the number of meters of fabric purchased, then the cost of the purchase, indicating first the number of euros and then the cents spent. Use the output format as shown in the example.

Examples

Example 1

Loading
Loading