output_description: If there is a way to buy some cakes and some doughnuts for exactly N dollars,
  print `Yes`; otherwise, print `No`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N
attempt: n = int(input())
  money = [4 * i + 7 * j for i in range(n // 4 + 1) for j in range(n // 7 + 1)]
  print("Yes" if n in money else "No")
  
problem_description: Statement
  
   _La Confiserie d'ABC_ sells cakes at 4 dollars each and doughnuts at 7
  dollars each. Determine if there is a way to buy some of them for exactly N
  dollars. You can buy two or more doughnuts and two or more cakes, and you can
  also choose to buy zero doughnuts or zero cakes.
samples: [{"input": "11", "output": "Yes\n    \n\nIf you buy one cake and one doughnut, the total will be 4 + 7 = 11 dollars.\n\n* * *"}, {"input": "40", "output": "Yes\n    \n\nIf you buy ten cakes, the total will be 4 \\times 10 = 40 dollars.\n\n* * *"}, {"input": "3", "output": "No\n    \n\nThe prices of cakes (4 dollars) and doughnuts (7 dollars) are both higher than\n3 dollars, so there is no such way."}]