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

RGB7115 - Тэнцсэн, унасан

Тоон дүн 3-аас их бол тэнцсэнд тооцно. Бусад тохиолдолд унана. Өгөгдсөн тоон дүн тэнцсэн эсэхийг тогтоо.

Input

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

Output

Тэнцсэн тохиолдолд "Tentssen", эсрэг тохиолдолд "Unasan" гэж хэвлэ.

Example

Input:
4
Output:
Tentssen

Нэмсэн: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
2023-11-03 06:00:37
HI
2023-04-24 05:28:32
kka
2023-04-24 05:28:32
kka
2023-03-16 15:56:24
#include <stdio.h>
int main(){
int a = 5;
scanf("%d", &a);
switch(a){
case 2:
printf("Unasan");
break;
case 3:
printf("Tentssen");
break;
case 4:
printf("Tentssen");
break;
case 5:
printf("Tentssen");
break;}
return 0;
}copy<3
2023-03-16 10:16:56
#include <stdio.h>
int main()
{
long long n,s,i;
scanf("%lld",&n);
s=0;
while(n>0) {
i=n%10;
if (n%2!=0)
s=s+1;
n=n/10;
}
printf("%lld",s);
return 0;
}
2023-03-15 19:58:17
#include <stdio.h>

int main() {
int number;
scanf("%d", &number);

if (number == 2 || number == 3) {
printf("Unasan\n");
} else if (number == 4 || number == 5)
printf("Tentssen\n");

return 0;
}

Last edit: 2023-03-15 19:58:40
2023-03-02 10:57:13
#include <stdio.h>
main()
{
int a;
scanf("%d",&a);
if(a==2)
printf("Unasan");
if(a==3)
printf("Unasan");
if(a==4)
printf("Tentssen");
if(a==5)
printf("Tentssen");
}
2023-01-23 19:33:05
#include<iostream>
using namespace std;
int main(){
int a;
cin >> a;
if(a==5){
cout << "Tentssen";
}
if(a==4){
cout << "Tentssen";
}
if(a==3){
cout << "Unasan";
}
if(a==2){
cout << "Unasan";
}
return 0;
}
oguulberiinhee daguul bodoldoo sdanuudaa hha . bitguu huulaad bai naad tolgoind chin yu ordin ooroo hicheegeed bod sda min
2023-01-23 19:31:35
#include <iostream>
using namespace std;
int main()
{
int a ;
cin >> a ;
if( 3 < a && a < 6){
cout << "Tentssen";
}else{
cout << "Unasan";
}
return 0;
}
//oguulberiinhee daguul bodoldoo sdanuudaa hha . bitguu huulaad bai naad tolgoind chin yu ordin ooroo hicheegeed bod sda min
2022-12-23 13:50:49
#include <iostream>
using namespace std;
int main()
{
int a ;
cin >> a ;
if( 3 < a && a < 6){
cout << "Tentssen";
}else{
cout << "Unasan";
}
return 0;
}
//soo easy
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.