File standardInput readLines map(n,writeln((1+n=n asNumber/30.17+.58|0)*n*(n+.5)/3))