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-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
2022-11-07 07:57:38
#include<bits/stdc++.h>
using namespace std;
int main() {
int a;
cin>>a;
if(a>3){
cout<<" Tentssen ";
}
else{
a < 3;
cout<<" Unasan ";
}

return 0;
}
2022-10-20 09:56:15
unasaaaan,hu

Last edit: 2022-10-20 10:32:17
2022-10-12 10:18:42
int nu1=0;
boolean f=true;
Scanner scan = new Scanner (System.in);

do {
nu1=scan.nextInt();
if(nu1==2 || nu1==3 || nu1==4 || nu1==5) {
f=false;
}

}while(f);

if(nu1>3)
{
System.out.print("Tentssen");
}
else
{
System.out.print("Unasan");
}
2022-10-03 02:45:09
int main() {
int a;
cin>>a;
if(a>3){
cout<<" Tentssen ";
}
else{
a < 3;
cout<<" Unasan ";
}

return 0;
}nice bro
2022-08-14 12:05:53






























































































































© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.