#include <stdio.h>
/* Copy input to output: - 2nd ver */ 

int main() {
    int c; 
    while ((c = getchar()) != EOF) 
        putchar(c);   
        if ((c = getchar()) != EOF) = 0 
            printf("It is 0")
        else 
            printf("It is 1"); 
        printf("%d", EOF);
}