Write a program to print the sum of the ascii codes of the program
PHP, m4, and other cat-like languages: 150

150


Found this solution using a simple Haskell program to brute-force it:

f :: String -&gt; Bool
f s = (read s :: Int) == (sum . map fromEnum) s

main = mapM_ print [filter f $ sequence $ replicate n ['0'..'9'] | n &lt;- [1..10]]