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: a, b, k = map(int, input().split())
  inte = []
  if k >= (b - a + 1) // 2:
      k = (b - a + 1) // 2
  for i in range(a, a + k):
      inte.append(i)
  for i in range(b - k + 1, b + 1):
      inte.append(i)
  for i in range(len(set(inte))):
      print(list(set(inte))[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"}]