print+($_=<>)*($_+1)/2