// editor2
#include<stdio.h>
#include<string>
#include<ctype.h>
int isAlphaOnly(char str[]){
    for(int i = 0; str[i] !='\0'; i++){
        if(!isalpha(str[i]))
        return 0;
    }
    return 1;
}
int areAnagrams(char str1[], char str2[]){
    int count1[26] = {0}, count2[26] = {0};
    int i;
    if(strlen(str1) != strlen(str2))
    return 0;
    for (i = 0; i < 26; i++){
        if(count1[i] != count2[i])
        return 0;
    }