#!/usr/bin/env python -tt

from cg import german

n = int(raw_input('Enter integer: '))
print "Sum of 1 to %d: %d" %(n, german.sum(n))
