GCD Calculation

Easy

📝 Description

Find the greatest common divisor of two numbers

Input Format

Two space-separated integers

Output Format

GCD value

Constraints

Numbers ≤ 1000

🔍 Sample Input

54 24
            

✅ Sample Output

6
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run