n = int(input()) a = [0,4,100,100,3170,150] print(a[n])