def METHOD_NAME():
  if len(sys.argv) > 1:
    data = open(sys.argv[1]).read().splitlines()
  else:
    data = sys.stdin.read().splitlines()
  # Split up the double braces.
  lines = split_double_braces(data)
  # Indent and print the output.
  prettyprint_input(lines)
  return 0