output_description: If N contains the digit 7, print `Yes`; otherwise, print `No`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N
attempt: N = int(input())
  A = list(map(int, input().split()))
  
  DP = [0, 0, 0]
  m = N // 2 * 2
  if N % 2 == 0:
      for i in range(0, m, 2):
          DP[0] += A[i]
          DP[1] += A[i + 1]
          DP[1] = max(DP[0], DP[1])
  
      print(DP[1])
  
  else:
      for i in range(0, m, 2):
          DP[0] += A[i]
          DP[1] += A[i + 1]
          DP[2] += A[i + 2]
  
          DP[1] = max(DP[0], DP[1])
          DP[2] = max(DP[1], DP[2])
  
      print(DP[2])
  
problem_description: Statement
  
  Given is a three-digit integer N. Does N contain the digit 7?
  
  If so, print `Yes`; otherwise, print `No`.
samples: [{"input": "117", "output": "Yes\n    \n\n117 contains 7 as its last digit.\n\n* * *"}, {"input": "123", "output": "No\n    \n\n123 does not contain the digit 7.\n\n* * *"}, {"input": "777", "output": "Yes"}]