main=interact$unlines.foldr(%)[].words "if"%(a:b:l)=l!!sum[2|a<b]:drop 3l x%l=x:l
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page