
#include <stdio.h>
#include <string.h>

main()
{
char str1[50],str2[50];

scanf("%s",str1);
scanf("%s",str2);

/*
puts(str1);
puts(str2);
strcpy(str1,str2);
puts(str1);
puts(str2);

puts(str1);
puts(str2);
printf("\n");
printf("before\n");
puts(str1);
strncpy(str1,str2,5);
printf("after\n");
puts(str1);
*/

if (strncmp(str1,str2,4)==0)
printf("They are equal\n");
else
printf("They are not equal\n");

printf("The ascii code of a is:%d\n",'a');
printf("The ascii code of A is:%d\n",'A');
printf("The ascii code of 8 is:%d\n",'8');
printf("The ascii code of space is:%d\n",' ');

}


