output_description: If S can be obtained by permuting `abc`, print `Yes`; otherwise, print `No`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      S
attempt: from collections import deque
  
  A, B, K = input().split()
  
  A = int(A)
  B = int(B)
  K = int(K)
  
  value = deque()
  s = [i for i in range(A, B + 1)]
  
  value.extend(s[0:K])
  value.extend(s[len(s) - K : len(s)])
  
  num = list(set(value))
  
  for i in range(len(num)):
      print(num[i])
  
problem_description: Statement
  
  You are given a string S of length 3 consisting of `a`, `b` and `c`. Determine
  if S can be obtained by permuting `abc`.
samples: [{"input": "bac", "output": "Yes\n    \n\nSwapping the first and second characters in `bac` results in `abc`.\n\n* * *"}, {"input": "bab", "output": "No\n    \n\n* * *"}, {"input": "abc", "output": "Yes\n    \n\n* * *"}, {"input": "aaa", "output": "No"}]