Paste Search Dynamic
Recent pastes
data chars
  1. N = int(input())
  2. data = [int(i) for i in input().split()]
  3. chars = {-1:"n",-2:" ",-3:"."}
  4. res = []
  5. for i in data:
  6.     res.append(chr(i+ord('a')) if i>=0 else chars[i])
  7. print("".join(res))
Parsed in 0.002 seconds