The following problem is posted here for interested contestants to practise programming and to practise file input and output.