output_description: Replace the first four characters in S with `2018` and print it.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      S
attempt: line = input().split()
  sheet = int(line[0])
  total = int(line[1])
  total_store = total
  out = [0, 0, 0]
  sheet_count = 0
  
  for i in range(sheet):
      switch_10000 = 0
      switch_5000 = 0
  
      if int(total / 10000) > 0 and sheet_count < sheet:
          total -= 10000
          sheet_count += 1
          out[0] += 1
          switch_10000 += 1
  
      if int(total / 5000) > 0 and sheet_count < sheet and switch_10000 == 0:
          total -= 5000
          sheet_count += 1
          out[1] += 1
          switch_5000 += 1
      if (
          int(total / 1000) > 0
          and sheet_count < sheet
          and switch_10000 == 0
          and switch_5000 == 0
      ):
          total -= 1000
          sheet_count += 1
          out[2] += 1
  
  if out[0] * 10000 + out[1] * 5000 + out[2] * 1000 == total_store:
      if sum(out) == sheet:
          print(out[0], out[1], out[2])
      else:
          out[0] = 0
          out[1] = 0
          out[2] = int(total_store / 1000)
          cnt = 0
          while sum(out) != sheet_count and out[2] >= 0:
              out[2] -= 5
              out[1] += 1
              cnt += 1
  
              if sum(out) == sheet and out[2] >= 0:
                  print(out[0], out[1], out[2])
              if cnt % 2 == 0:
                  out[1] -= 2
                  out[0] += 1
              if sum(out) == sheet and out[2] >= 0:
                  print(out[0], out[1], out[2])
  
  
  else:
      print(-1, -1, -1)
  
problem_description: Statement
  
  On some day in January 2018, Takaki is writing a document. The document has a
  column where the current date is written in `yyyy/mm/dd` format. For example,
  January 23, 2018 should be written as `2018/01/23`.
  
  After finishing the document, she noticed that she had mistakenly wrote `2017`
  at the beginning of the date column. Write a program that, when the string
  that Takaki wrote in the date column, S, is given as input, modifies the first
  four characters in S to `2018` and prints it.
samples: [{"input": "2017/01/07", "output": "2018/01/07\n    \n\n* * *"}, {"input": "2017/01/31", "output": "2018/01/31"}]