func main() var s: int :: cui@inputInt() var k: int :: cui@inputInt() var ans: int :: s % k do cui@print("\{ans}\n") end func