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.|

RGB7116 - 5-аас онц руу

Өгөгдсөн тоон дүнг үсгэн дүн рүү шилжүүл.

Input

Тоон дүн нь 2,3,4,5-ын зөвхөн аль нэгээр өгөгдөнө.

Output

5 байвал "Onts", 4 байвал "Sain", 3 байвал "Dund", 2 байвал "Muu" гэж хэвлэ.

Example

Input:
4
Output:
Sain

Нэмсэн:Bataa
Огноо:2011-06-20
Хугацааны хязгаарлалт: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
2022-09-11 15:52:23
#include<iostream>
using namespace std;
int main(){
int a;
cin>>a;
if(a==5){
cout<<"Onts"<<endl;
}
if(a==4){
cout<<"Sain"<<endl;
}
if(a==3){
cout<<"Dund"<<endl;
}
if(a==2){
cout<<"Muu"<<endl;
}
return 0;
} GUAS huularai :)
2022-06-05 08:33:04
#include <iostream>
using namespace std;

int main() {

// your code here
int a, b, c, d, e;
cin>>a;

if(a == 2){
cout<<"Muu";
}
if(a == 3){
cout<<"Dund";
}
if(a == 4){
cout<<"Sain";
}
if(a == 5){
cout<<"Onts";
}


return 0;
} khandmaa to tusa
2022-02-09 17:07:51
#include<stdio.h>
int main()
{
int n;
scanf("%d",&n);
if(1<n&&n<6)
if(5==n)
printf("Onts");
else if(4==n)
printf("Sain");
else if(3==n)
printf("Dund");
else
printf("Muu");
}
2021-10-19 12:45:54
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
if (a == 5) {
System.out.println("Onts");
} else if (a == 4) {
System.out.println("Sain");
} else if (a == 3) {
System.out.println("Dund");
} else if (a == 2) {
System.out.println("Muu");
} else {
System.out.println("Are you fucking nigger?");
}
}
2021-06-21 18:15:57
#include<iostream>
using namespace std;
int main()
{
int a;
cin>>a;
if(a==5){
cout<<"Onts"<<endl;
}
if(a==4){
cout<<"Sain"<<endl;
}
if(a==3){
cout<<"Dund"<<endl;
}
if(a==2){
cout<<"Muu"<<endl;
}
return 0;
}
2021-03-28 15:05:20
#include<stdio.h>
#include<stdlib.h>
#include <iostream>
#include <cmath>
main(){
int n;
scanf("%d",&n);
{
if(2==n) printf("MUu");}
{
if(3==n)
printf("Dund");}
{if(4==n)
printf("Sain");}
{if(5==n)
printf("Onts");}

}
minii bodolt harj aw

2021-01-17 11:47:42


Last edit: 2021-01-17 11:48:02
2021-01-14 09:00:23
#include<iostream>
using namespace std;
int main()
{
int a;
cin>>a;
if(a==5){
cout<<"Onts"<<endl;
}
if(a==4){
cout<<"Sain"<<endl;
}
if(a==3){
cout<<"Dund"<<endl;
}
if(a==2){
cout<<"Muu"<<endl;
}
return 0;
}
sanchka ni bnooo
2020-06-04 17:10:09
#include <iostream>
using namespace std;
int main(){
int a;
cin>>a;
if(a==5)
{cout << "Onts";}
if(a==4)
{cout << "Sain";}
if(a==3)
{cout << "Dund";}
if(a==2)
{cout << "Muu";}
}
2019-12-14 12:51:01
int a;
cin >> a;
switch (a)
{
case 2:
cout << "Muu" << endl; break;
case 3:
cout << "Dund" << endl; break;
case 4:
cout << "Sain" << endl; break;
case 5:
cout << "Onts" << endl; break;
default:
cout << "2 - 5 too oruul" << endl;
break;
} // bodoj sur
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.