poj exercise
new template