comefrom: <doocs>0970.Powerful Integers_1.py
code: def powerfulIntegers( x: int, y: int, bound: int) -> List[int]:
      s = set()
      i = 1
      while i < bound:
          j = 1
          while j < bound:
              if i + j <= bound:
                  s.add(i + j)
              if y == 1:
                  break
              j *= y
          if x == 1:
              break
          i *= x
      return list(s)
masked: def sample_funcname ( var_0 : int , var_2 : int , var_3 : int ) -> List [ int ] :
      var_6 = set ( )
      var_8 = 1
      while var_8 < var_3 :
          var_9 = 1
          while var_9 < var_3 :
              if var_8 + var_9 <= var_3 :
                  var_6.add ( var_8 + var_9 )
              if var_2 == 1 :
                  break
              var_9 *= var_2
          if var_0 == 1 :
              break
          var_8 *= var_0
      return list ( var_6 )
  