input / output for olympic tasks