spoj#HISTORY. History of Languages

History of Languages

Please click here to download a PDF version of the contest problems. The problem is problem H in the PDF. Remember that you must use stdin/stdout at SPOJ.