def atc_120a(input_value: str) -> int:
    A, B, C = map(int, input_value.split(" "))
    return min(C, B // A)

input_value = input()
print(atc_120a(input_value)) def atc_120a(input_value: str) -> int:
    A, B, C = map(int, input_value.split(" "))
    return min(C, B // A) atc_120a A, B, C = map(int, input_value.split(" ")) A map(int, input_value.split(" ")) map int input_value.split(" ") input_value.split input_value split " " B C return min(C, B // A) min(C, B // A) min C B // A B A input_value: str input_value input_value = input() input_value input() input print(atc_120a(input_value)) print atc_120a(input_value) atc_120a input_value input_value = input() input() input_value def atc_120a(input_value: str) -> int:
    A, B, C = map(int, input_value.split(" "))
    return min(C, B // A) def atc_120a(input_value: str) -> int:
    A, B, C = map(int, input_value.split(" "))
    return min(C, B // A) atc_120a
def atc_120a(input_value: str) -> int:
    A, B, C = map(int, input_value.split(" "))
    return min(C, B // A)

input_value = input()
print(atc_120a(input_value))
