Challenge 16.02 from Russia


#1
**main.m**

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

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        NSLog(@"Type max number");
        const char *number = readline(NULL);
        
        NSString *conv = [NSString stringWithUTF8String: number];
        int i = [conv intValue];
        
        for (; i >= 0; i -= 3) {
            if (i % 5 == 0) {
                NSLog(@"%d Found one!", i);
            } else {
                NSLog(@"%d", i);
            }
        }
    }
    return 0;
}