import sys
 
stdin = sys.stdin

mod = 1000000007
inf = 1 << 60
 
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()
nas = lambda: stdin.readline().split()

a, b, c = na()
print(min(b // a, c)) import sys sys stdin = sys.stdin stdin sys.stdin sys stdin mod = 1000000007 mod 1000000007 inf = 1 << 60 inf 1 << 60 1 60 ni = lambda: int(ns()) ni lambda: int(ns()) int(ns()) int ns() ns na = lambda: list(map(int, stdin.readline().split())) na lambda: list(map(int, stdin.readline().split())) list(map(int, stdin.readline().split())) list map(int, stdin.readline().split()) map int stdin.readline().split() stdin.readline().split stdin.readline() stdin.readline stdin readline split ns = lambda: stdin.readline().rstrip() ns lambda: stdin.readline().rstrip() stdin.readline().rstrip() stdin.readline().rstrip stdin.readline() stdin.readline stdin readline rstrip nas = lambda: stdin.readline().split() nas lambda: stdin.readline().split() stdin.readline().split() stdin.readline().split stdin.readline() stdin.readline stdin readline split a, b, c = na() a na() na b c print(min(b // a, c)) print min(b // a, c) min b // a b a c b, c = na() na() b mod = 1000000007 1000000007 mod a, b, c = na() na() a ns = lambda: stdin.readline().rstrip() lambda: stdin.readline().rstrip() ns ni = lambda: int(ns()) lambda: int(ns()) ni na = lambda: list(map(int, stdin.readline().split())) lambda: list(map(int, stdin.readline().split())) na nas = lambda: stdin.readline().split() lambda: stdin.readline().split() nas inf = 1 << 60 1 << 60 inf c = na() na() c stdin = sys.stdin sys.stdin stdin
import sys
 
stdin = sys.stdin

mod = 1000000007
inf = 1 << 60
 
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()
nas = lambda: stdin.readline().split()

a, b, c = na()
print(min(b // a, c))