L = list(map(int, input().split())) for b in L: if b % 80 ==0: print(b) elif b % 8 == 0: print('iki') elif b % 10 == 0: print('sugi') else: print(b*3)