import sys
rm = lambda: map(int, sys.stdin.buffer.readline().split())
a, b, c = rm()
print(min(c, b//a)) import sys sys rm = lambda: map(int, sys.stdin.buffer.readline().split()) rm lambda: map(int, sys.stdin.buffer.readline().split()) map(int, sys.stdin.buffer.readline().split()) map int sys.stdin.buffer.readline().split() sys.stdin.buffer.readline().split sys.stdin.buffer.readline() sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline split a, b, c = rm() a rm() rm b c print(min(c, b//a)) print min(c, b//a) min c b//a b a rm = lambda: map(int, sys.stdin.buffer.readline().split()) lambda: map(int, sys.stdin.buffer.readline().split()) rm b, c = rm() rm() b a, b, c = rm() rm() a c = rm() rm() c
import sys
rm = lambda: map(int, sys.stdin.buffer.readline().split())
a, b, c = rm()
print(min(c, b//a))