#include <stdio.h>

int main() {
    int ch1;

    ch1=getchar();
    if(ch1>96 && ch1<123)
    {
        putchar(ch1-32);
    }
    else if(ch1>64 && ch1<91)
    {
        putchar(ch1+32);
    }
    else{
        printf("error");
    }
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: