#include<stdio.h>
#include<string.h>
int main() {
    char username[21],password [21],role[21];
    if(scanf("%20s %20s",username,password)!=2){
       printf("Invalid input");
       return 0;
       
       if (scanf("%20", role) !=1){
            printf("Invalid input");
            return 0;
        }
        
        if (strlen(username) == 0 || strlen(password) == 0 || strlen(role) == 0){
            printf("Invalid Input");
            return 0;
        }
            
            printf("%s\n", username);
            printf("%s", role);
    }
            
            return 0;
}