n = int(input()) expection = sum(list(range(1, 7))) / 6 res = expection * n print(res)