func main() var a: int :: cui@inputInt() var b: int :: cui@inputInt() var ans: int for i(a, b) if((a + b + i) % 3 = 0) do ans :+ 1 end if end for do cui@print("\{ans}\n") end func