Count diamonds level 1 by dplusplus

import os
for b in os.read(0,1e5).split('-'*40)[1:-1]:print b.count('***')

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top