You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include<iostream>
|
|
#include<cstdio>
|
|
#include<ctype.h>
|
|
using namespace std;
|
|
|
|
int main(void) {
|
|
int n, key1, key2;
|
|
cin >> n;
|
|
|
|
key1 = n % 123;
|
|
key2 = n % 91;
|
|
if(islower(key1))
|
|
putchar(key1);
|
|
else if(isupper(key2))
|
|
putchar(key2);
|
|
else
|
|
putchar('*');
|
|
|
|
return 0;
|
|
}
|
|
|