#import <Foundation/Foundation.h>

int main (int argc, const char * argv[]) {

	int maxNum = 10;
	int sum = 0;
	
	int i = 1;
	
	while (i <= maxNum) {
		sum = sum + i;
		i++;
	}
    NSLog(@"1 to %d => %d", maxNum, sum);

    return 0;
}
