#import <Foundation/Foundation.h>

bool isvowel(NSString *c){
    return [c isEqualToString:@"a"] || [c isEqualToString:@"e"] || [c isEqualToString:@"i"] || [c isEqualToString:@"o"] || [c isEqualToString:@"u"];
}

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        NSData *stdinData = [[NSFileHandle fileHandleWithStandardInput] availableData];
        NSString *s = [[NSString alloc] initWithData:stdinData encoding:NSUTF8StringEncoding];
        NSString *raw = [s substringWithRange:NSMakeRange(0,1)];
        
        NSString *answer = @"consonant";
        if(isvowel(raw)){
            answer = @"vowel";
        }
        
        NSFileHandle *fileHandle = [NSFileHandle fileHandleWithStandardOutput];
        [fileHandle writeData:[answer dataUsingEncoding:NSUTF8StringEncoding]];
        [fileHandle writeData:[@"\n" dataUsingEncoding:NSUTF8StringEncoding]];
        [fileHandle closeFile];
    }
    
    return 0;
}
