Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7316 - Гурван тооны ХБЕХ

Өгөгдсөн 3 натурал тооны хамгийн бага ерөнхий хуваагдагчийг (ХБЕХ) ол.

Input

Нэг мөрөнд 3 натурал тоо зайгаар тусгаарлагдан өгөгдөнө. Тоонууд 1200-аас ихгүй.

Output

ХБЕХ

Example

Input:

4 6 18

Output:

36


Нэмсэн:Bataa
Огноо:2013-01-14
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2024-07-01 11:17:37
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Booooooooooom
2024-07-01 11:17:34
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Booooooooooom
2024-07-01 11:17:26
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Booooooooooom
2024-05-10 05:51:37
#include <stdio.h>

int main() {
int a, b, c, d, e, f;
scanf("%d %d %d", &a, &b, &c);
d = a * b;

while (a != b) {
if (a > b) {
a = a - b;
} else {
b = b - a;
}
}

d = d / a;
e = d * c;

while (d != c) {
if (d > c) {
d = d - c;
} else {
c = c - d;
}
}

e = e / d;
printf("%d", e);

return 0;
}
2024-04-18 04:43:03
654564651


Last edit: 2024-10-24 10:49:42
2024-04-11 05:40:54
8-1 Pro
2024-03-29 03:23:47
enhush mal
2024-03-26 12:55:29
hrta shyyy
2024-03-14 05:39:13
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
BooooooooooomChipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Booooooooooom
2024-02-29 10:00:54
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Boom, boom, boom, boom
Chipi chipi chapa chapa
Dubi dubi daba daba
Mágico mi dubi dubi
Booooooooooom
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.