#import <Foundation/Foundation.h>

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

	int tensu = 55;
	
	int rankA = 90;
	int rankB = 80;
	int rankC = 60;
	
	if (tensu >= rankA) {
		NSLog(@"Rank A");
	} else if (tensu >= rankB) {
		NSLog(@"Rank B");
	} else if (tensu >= rankC) {
		NSLog(@"Rank C");
	} else {
		NSLog(@"Rank D");
	}
		
	
    return 0;
}
