input: 
  from typing import List
  
  def row_sum_odd_numbers(index: int) -> int:
      """Given an index of a row of odd numbers (ascending order and starting from 1),
      return the sum of all numbers in that row.
      For example, the odd numbers are:
      1 (row 1)
      3, 5 (row 2)
      7, 9, 11 (row 3)
      ...
      Return the sum of the numbers in the nth row.
      >>> row_sum_odd_numbers(1)
      1
      >>> row_sum_odd_numbers(2)
      8
      >>> row_sum_odd_numbers(3)
      27
      """
  
output:     return index ** 3