input: from typing import Tuple
  
  def linear_eq(a: int, b: int, c: int) -> Tuple[int, int]:
      """ Calculate the objective function of a linear equation ax + by = c.
      Returns a tuple representing the values of x and y that satisfy the equation.
      >>> linear_eq(3, 5, 7)
      (1, 2)
      >>> linear_eq(2, 3, 8)
      (1, 2)
      """
output:     x, y = 0, 0
      while a * x + b * y != c:
          if a * x + b * y < c:
              y += 1
          else:
              x += 1
              y = 0
      return (x, y)