Excess3 by MatthewWilkes

m={0:'0011',1:'0100',2:'0101',3:'0110',4:'0111',5:'1000',6:'1001',7:'1010',8:'1011',9:'1100'}
while 1:
 l=""
 for c in raw_input():
  l+=m[int(c)]
 print l

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

download

return to the top page