21 lines
312 B
C
21 lines
312 B
C
#include <stdio.h>
|
|
|
|
int main(){
|
|
|
|
int c= 0;
|
|
while(1){
|
|
|
|
c = getchar();
|
|
if (c < 0) break;
|
|
|
|
if (c >= 97 && c <= 122){
|
|
c = c - 'a' + 'A';
|
|
} else
|
|
if (c >= 65 && c <= 90){
|
|
c = c - 'A' + 'a';
|
|
}
|
|
putchar(c);
|
|
}
|
|
|
|
return 0;
|
|
} |