Question: 
Write a python function to find minimum possible value for the given periodic function.


Model's Code:
def floor_Min(a, b, c):
    return (a + b + c) // 3 - min(a, b, c)



Sample Correct Code:
def floor_Min(A,B,N):
    x = max(B - 1,N)
    return (A*x) // B


Asserts:
assert floor_Min(10,20,30) == 15
assert floor_Min(1,2,1) == 0
assert floor_Min(11,10,9) == 9


Tests:
Test 1 of 3: FAIL: AssertionError()

Test 609 of 974: 453/609 (74.38423645320196%): failed