游客 Signup | Login
中文 | En

2381 - 【入门】求两个自然数M和N的最大公约数

通过次数

0

提交次数

0

Time Limit : 1 秒 Memory Limit : 128 MB
求两个自然数MN的最大公约数(MN都在长整型范围内)

<div>
</div>

Input

输入一行,包括两个整数.

Output

输出只有一行(这意味着末尾有一个回车符号),包括1个整数。

Examples

Input Format

45 60

Output Format

15