






def 						_a    (      a :int = 50 )							->			int:
 a		  =      [[0] * 3 for _ in range(length + 1 )]

 for row_length in range(length + 1 ):
  for tile_length in range(2	,							5 ):
   for tile_start in range(row_length - tile_length + 1 ):
    different_colour_ways_number[row_length][tile_length - 2] += (
        different_colour_ways_number[row_length - tile_start - tile_length][
            tile_length - 2
        ]
        + 1
    )

 return sum(different_colour_ways_number[length] )


if __name__ == "__main__":
     print(f"""{solution() = }""")







'''simple docstring'''


def 				__lowerCamelCase				(   A__ = 50    )       ->	int:






   """simple docstring"""
   UpperCamelCase					=  [1] * (length + 1)

   for row_length in range(3    ,						length + 1    ):
      for block_length in range(3    ,						row_length + 1    ):
         for block_start in range(row_length - block_length    ):
            ways_number[row_length] += ways_number[
                row_length - block_start - block_length - 1
            ]

         ways_number[row_length] += 1

   return ways_number[length]


if __name__ == "__main__":
   print(f'''{solution() = }''')

