#import <Foundation/Foundation.h>
#import <stdarg.h>

@interface StdIO : NSObject
+(NSString*)stringFromStdIn;
+(NSArray*)stringsFromStdInSeparatedByString:(NSString*)separator;
+(NSArray*)numbersFromStdInSeparatedByString:(NSString*)separator;
+(void)puts:(NSString*)format, ...;
@end

@implementation StdIO
+(NSString*)stringFromStdIn
{
	return [[NSString alloc] initWithData:[[NSFileHandle fileHandleWithStandardInput] availableData] encoding:NSUTF8StringEncoding];
}

+(NSArray*)stringsFromStdInSeparatedByString:(NSString*)separator
{
	return [[StdIO stringFromStdIn] componentsSeparatedByString:separator];
}

+(NSArray*)numbersFromStdInSeparatedByString:(NSString*)separator
{
	NSArray *strings = [StdIO stringsFromStdInSeparatedByString:separator];
	NSMutableArray *numbers = [NSMutableArray array];
	for (NSString *string in strings) {
		[numbers addObject: [NSNumber numberWithInteger: [string integerValue]]];
	}
	return numbers;
}

+(void)puts:(NSString*)format, ...
{
	va_list arguments;
	va_start(arguments, format);
	NSString *stdoutString = [[NSString alloc] initWithFormat:format arguments:arguments];
	
	NSFileHandle *fileHandle = [NSFileHandle fileHandleWithStandardOutput];
	[fileHandle writeData:[stdoutString dataUsingEncoding: NSUTF8StringEncoding]];
	[fileHandle writeData:[@"\n" dataUsingEncoding: NSUTF8StringEncoding]];
	[fileHandle closeFile];	
	
	va_end(arguments);	
}
@end



int main(int argc, const char * argv[]) {
	@autoreleasepool {
		NSArray *numbers = [StdIO numbersFromStdInSeparatedByString:@" "];
		NSInteger i = [numbers[0] integerValue];
		NSInteger j = [numbers[1] integerValue];
		[StdIO puts:(i*j % 2 == 0) ? @"Even" : @"Odd"];
	}

	return 0;
}