AT_jag2018summer_day2_a 10^N+7

Description

[problemUrl]: https://atcoder.jp/contests/jag2018summer-day2/tasks/jag2018summer_day2_a You are given three non-negative integers, $ x $, $ y $, $ z $. Your task is to find the smallest non-negative integer $ n $ with all of the following conditions: - $ n\ {\rm\ mod}\ 17\ =\ x $ - $ n\ {\rm\ mod}\ 107\ =\ y $ - $ n\ {\rm\ mod}\ 1000000007(=10^9+7)\ =\ z $

Input Format

The input is given from Standard Input in the following format: > $ x $ $ y $ $ z $

Output Format

Print the value of $ n $ in the statement.

Explanation/Hint

### Constraints - $ 0\ \leq\ x\