#import <Foundation/Foundation.h>
int main() {
NSAutoreleasePool *pool = [NSAutoreleasePool new];
NSSet *affordableMakes = [NSSet setWithObjects:@"Ford", @"Honda",
@"Nissan", @"Toyota", nil];
NSSet *fancyMakes = [NSSet setWithObjects:@"Ferrari", @"Maserati",
@"Porsche", nil];
NSSet *allMakes = [affordableMakes setByAddingObjectsFromSet:fancyMakes];
NSLog(@"%@", allMakes);
[pool drain];
return 0;
}
I2ltcG9ydCA8Rm91bmRhdGlvbi9Gb3VuZGF0aW9uLmg+CgppbnQgbWFpbigpIHsKCU5TQXV0b3JlbGVhc2VQb29sICpwb29sID0gW05TQXV0b3JlbGVhc2VQb29sIG5ld107CglOU1NldCAqYWZmb3JkYWJsZU1ha2VzID0gW05TU2V0IHNldFdpdGhPYmplY3RzOkAiRm9yZCIsIEAiSG9uZGEiLAogICAgICAgICAgICAgICAgQCJOaXNzYW4iLCBAIlRveW90YSIsIG5pbF07CiAgICBOU1NldCAqZmFuY3lNYWtlcyA9IFtOU1NldCBzZXRXaXRoT2JqZWN0czpAIkZlcnJhcmkiLCBAIk1hc2VyYXRpIiwKICAgICAgICAgICAgQCJQb3JzY2hlIiwgbmlsXTsKICAgIE5TU2V0ICphbGxNYWtlcyA9IFthZmZvcmRhYmxlTWFrZXMgc2V0QnlBZGRpbmdPYmplY3RzRnJvbVNldDpmYW5jeU1ha2VzXTsKICAgIE5TTG9nKEAiJUAiLCBhbGxNYWtlcyk7CglbcG9vbCBkcmFpbl07CglyZXR1cm4gMDsKfQ==