input: from typing import List
  
  def sum_squares_digits(n: int) -> int:
      """ Calculate the sum of the squares of the digits of a given number.
      >>> sum_squares_digits(123)
      14
      >>> sum_squares_digits(789)
      210
      """
      return sum(int(digit)**2 for digit in str(n))
output:     result = 0
      for digit in str(n):
          result += int(digit) ** 2
      return result