#include <stdio.h>

int main() {
    char s[100];
    scanf("%[^\n]s", s);

    for(int j=0; j<26; j++) {
        printf("\n%d : ", j+1);
        for(int i=0; s[i]; i++) {
            if(s[i]==' ') printf("_");
            else if('A'<=s[i]&&s[i]<='Z') {
                printf("%c", 'A'+(s[i]-'A'+j)%26);
            }
            else if('a'<=s[i]&&s[i]<='z') {
                printf("%c", 'a'+(s[i]-'a'+j)%26);
            }
            else printf("%c", s[i]);
        }
    }
}
/*
#include <stdio.h>
int S[100];
//54586b6458754f7b215c7c75424f21634f744275517d6d
int main() {

    for(int i=0; i<23; i++)
        scanf("%2x", &S[i]);
    
    for(int i=0; i<256; i++, puts("")) {
        printf("%d : ", i+1);
        for(int j=0; S[j]!=0; j++) {
            printf("%c", (S[j]^i));
        }
    }
}

#include <stdio.h>
#define JOKER "\x40\x53\x06\x03\x43\x52\x54\x3b"
#define KEY "023661dd4\0"

int main() {

    for(int i=0; i<8; i++) {
        printf("%c", KEY[i]^JOKER[i]);
    }
}
*/

Embed on website

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