comefrom: <doocs>1220.Count Vowels Permutation_1.py
code: def countVowelPermutation( n: int) -> int:
      dp = (1, 1, 1, 1, 1)
      MOD = 1000000007
      for _ in range(n - 1):
          dp = (
              (dp[1] + dp[2] + dp[4]) % MOD,
              (dp[0] + dp[2]) % MOD,
              (dp[1] + dp[3]) % MOD,
              dp[2],
              (dp[2] + dp[3]) % MOD,
          )
      return sum(dp) % MOD
masked: def sample_funcname ( var_0 : int ) -> int :
      var_3 = ( 1 , 1 , 1 , 1 , 1 )
      var_5 = 1000000007
      for var_7 in range ( var_0 - 1 ) :
          var_3 = ( ( var_3 [ 1 ] + var_3 [ 2 ] + var_3 [ 4 ] ) % var_5 , ( var_3 [ 0 ] + var_3 [ 2 ] ) % var_5 , ( var_3 [ 1 ] + var_3 [ 3 ] ) % var_5 , var_3 [ 2 ] , ( var_3 [ 2 ] + var_3 [ 3 ] ) % var_5 , )
      return sum ( var_3 ) % var_5
  