Problem:
 Score : 100 points    Problem Statement Takahashi likes the sound when he buys a drink from a vending machine.  That sound can be heard by spending A yen (the currency of Japan) each time.  Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time.  How many times will he hear the sound?      Constraints  All values in input are integers.  1 \leq A, B, C \leq 100         Input Input is given from Standard Input in the following format:  A  B  C       Output Print the number of times Takahashi will hear his favorite sound.        Sample Input 1 2 11 4      Sample Output 1 4  Since he has not less than 8 yen, he will hear the sound four times and be satisfied.       Sample Input 2 3 9 5      Sample Output 2 3  He may not be able to be satisfied.       Sample Input 3 100 1 10      Sample Output 3 0

Solution (Python):
a,b,c = map(int,input().split())

if(b//a >= c):
  print(c)
else:
  print(b//a)

Solution (Python):
A, B, C = map(int, (input().split(' ')))
print(min(C, B // A))

Solution (Python):
a = list(map(int, input().split()))
if a[1]//a[0] <= a[2]:
    print(a[1]//a[0])
else:
    print(a[2])

Solution (Python):
A, B, C = map(int,input().split())
if B//A < C:
    print(B//A)
else:
    print(C)

Solution (Python):
a, b, c = map(int, input().split())

if b // a >= c:
    print(c)
else:
    print(b // a)

Solution (Python):
A,B,C=map(int,input().split())
if B/A>C:
    print(C)
else:
    print(int(B/A))

Solution (Python):
a,b,c = map(int,input().split())
print(c if a*c < b else b//a)

Solution (Python):
a,b,c = map(int,input().split())

if b//a > c:
	print(c)
else:
	print(b//a)

Solution (Python):
A,B,C = (int(x) for x in input().split())

if  B >= A*C:
  print(C)
else:
  print(int(B/A))

Solution (Python):
A,B,C = map(int,input().split())

aaa = int(B/A)
if C>=aaa:
    print(aaa)
else:
    print(C)

Solution (Python):
a, b, c = list(map(int, input().split()))

if a * c <= b:
	print(c)
else:
	print(b // a)

Solution (Python):
A,B,C = map(int,input().split())
total = 0
for i in range(C):
    if B >= A:
        B -= A
        total += 1
print(total)

Solution (Python):
A,B,C=map(int,input().split())
print(B//A if C>B//A else C)

Solution (Python):
a, b, c = map(int, input().split())
print(min(b // a, c))

Solution (Python):
A, B, C = map(int, input().split())

print(min(int(B/A), C))

Solution (Python):
A,B,C = list(map(int,input().split()))
d = B//A
if( d > C):
  print(C)
else:
  print(d)

Solution (Python):
A,B,C = list(map(int,input().split()))
print(min(B//A,C))

Solution (Python):
tmp = list(map(int, input().split()))
A, B, C = tmp[0], tmp[1], tmp[2]
tmp = B // A
if tmp > C:
  print(C)
else:
  print(tmp)

Solution (Python):
A, B, C = map(int, input().split())

print(C) if B // A >= C else print(B//A)

Solution (Python):
A, B, C = map(int, input().split())
z = B // A
if z > C:
    print(C)
else:
    print(z)

Solution (Python):
a,b,c = (int(num) for num in input().split())
if b - a*c > 0:
    print(c)
else:
    print(b//a)

Solution (Python):
A,B,C = map(int, input().split())
ans = 0
while True:
        B = B - A
        if B >= 0:
                ans += 1
        if B < 0:
                break
        if ans == C:
                break
print(ans)

Solution (Python):
A,B,C = map(int,input().split())

if B >=A*C:
    print(C)
else:
    print(B//A)

Solution (Python):
A, B, C = map(int, input().split())
print(min(B // A, C))

Solution (Python):
A, B, C = tuple(map(int, input().strip().split()))
print(min(C, B//A))

Solution (Python):
a,b,c=map(int,input().split())
print(min(b//a,c))

Solution (Python):
def main():
	a, b, c = map(int, input().split())
	print(min(b//a, c))

if __name__ == '__main__':
    main()

Solution (Python):
a=list(input().split())
b=int(a[0])
c=int(a[1])
d=int(a[2])
e=int(c/b)
if e>=d:
  print(d)
elif d>e:
  print(e)

Solution (Python):
a,b,c= map(int, input().split())
if b//a < c:
  print(b//a)
else:
  print(c)

Solution (Python):
A,B,C = map(int, raw_input().split())                                                                               
num = B//A
if num < C:
    print num 
else:
    print C

Solution (Python):
A, B, C = map(int, input().split())
print(min(B//A, C))

Solution (Python):
def main():
    A, B, C = map(int, input().split())
    if A * C < B:
        print(C)
    else:
        print(B // A)
main()

Solution (Python):
a,b,c=map(int,input().split())
print(min(b//a,c))

Solution (Python):
import numpy as np
A, B, C = (int(i) for i in input().split())

count = np.floor(B/A)

if(C<=count):
    print(int(C))
else:
    print(int(count))

Solution (Python):
cost, wallet, many = map(int, input().split())

if wallet >= cost * many:
    ans = int(many)
else:
    ans = int((wallet - (wallet % cost)) / cost)

print(ans)

Solution (Python):
a,b,c=map(int,input().split())
print(min(b//a,c))

Solution (Python):
abc = input().split()
cost, money, time = int(abc[0]),int(abc[1]),int(abc[2])
count = 0

while money >= cost and count < time:
    money -= cost
    count += 1

print(count)

Solution (Python):
a,b,c=map(int,input().split())
d=b//a
if d<=c:
  print(d)
else:
  print(c)

Solution (Python):
a,b,c=map(int,input().split())
d=b//a
if d<=c:
  print(d)
else:
  print(c)

Solution (Python):
def main():
    
    A, B, C = map(int, input().split())

    print(min(B // A, C))


main()

Solution (Python):
A,B,C = map(int, input().split())
print(min(B//A, C))

Solution (Python):
A, B, C = map(int, input().split())
print(min(B//A, C))

Solution (Python):

"""
A - Favorite Sound
https://atcoder.jp/contests/abc120/tasks/abc120_a

"""
import sys

def main(args):
    A, B, C = map(int, input().split())
    print(min(C, B//A))


if __name__ == '__main__':
    main(sys.argv[1:])

Solution (Python):
a,b,c = map(int, input().split())
x = b//a
if x > c:
  print(c)
else:
  print(x)

Solution (Python):
A, B, C = map(int, input().split())
if A * C < B:
    print(C)
else:
    print(B // A)

Solution (Python):
a,b,c=map(int,input().split())
print(min(int(b/a),c))

Solution (Python):
def main():
    A,B,C = map(int, input().split())
    if (B/A) < C:
        print((int)(B/A))
    else:
        print(C)

main()

Solution (Python):
a, b, c = map(int, input().split())
if b // a <= c:
    print(b // a)
else:
    print(c)

Solution (Python):
A, B, C = map(int, input().split())
if B >  A*C:
    print(C)
else:
    print(B//A)

Solution (Python):




def calc(a, b, c):
    rest = b
    count = 0
    while True:
        if count >= c:
            break
        if rest < a:
            break
        count += 1
        rest -= a
    return count


a, b, c = map(int, input().split())
print(calc(a, b, c))

Solution (Python):
a,b,c=map(int,input().split())

print(min(c,int(b/a)))

Solution (Python):
A, B, C = map(int, input().split())
cnt = 0

for i in range(C):
    if B >= A:
        cnt += 1
        B -= A

print(cnt)

Solution (Python):
A, B, C = map(int ,input().split())
print(min(B//A,C))

Solution (Python):
A, B, C = map(int ,input().split())
print( min(int(B/A), C)   )

Solution (Python):
A, B, C = map(int ,input().split())
if B / A > C:
  print(C)
else:
  print(int(B/A))

Solution (Python):
A, B, C = map(int ,input().split())
if B / A >= C:
  print(C)
elif B/ A < C:
  print(int(B/A))

Solution (Python):
ABC = [int(i) for i in input().split()]
answer = 0
if(ABC[0] * ABC[2] <= ABC[1]):
    answer = ABC[2]
else:
    answer = int(ABC[1] / ABC[0])
print(answer)

Solution (Python):
from sys import stdin





a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
v = 0
while b - a >= 0:
    b = b - a
    v += 1
    if v == c:
        break

print(v)

Solution (Python):


import sys
input = sys.stdin.readline

A, B, C = map(int, input().split())

print(int(min(C, B / A)))

Solution (Python):
import math
A,B,C=map(int,input().split())
can=math.floor(B/A)
if can>=C:
  print(C)
else:
  print(can)

Solution (Python):
x = list(map(int, input().split()))

if x[0] * x[2] <= x[1]:
    print(x[2])
else:
    print(int(x[1]/x[0]))

Solution (Python):
A, B, C = map(int, input().split())

if A*C <= B:
    print(C)
else:
    print(int(B/A))

Solution (Python):
A,B,C = map(int, input().split())
if C*A<=B:
    print(C)
else:
    print(B//A)

Solution (Python):

A, B, C = map(int, input().split())
if B // A >= C:
    print(C)
else:
    print(B // A)

Solution (Python):
a , b , c = map(int,input().split())

if( b < a):
    print (0)
elif(b//a > c):
    print (c)
else:
    print (b//a)

Solution (Python):
a, b, c = map(int, input().split())
print(min(c, b//a))

Solution (Python):
A, B, C = map(int,input().split())
if int(B/A) > C:
  print(C)
else:
  print(int(B/A))

Solution (Python):
a,b,c=map(int,input().split())
d=b//a
print([c,d][c>d])

Solution (Python):
a,s,d=map(int,input().split())
print(min(d,s//a))

Solution (Python):
a, b,c = list(map(int, input().split()))
print(min(c, b//a))

Solution (Python):
def main():
    A,B,C = (int(_) for _ in input().split())

    moneyInHand = B
    countOfListen = 0
    for i in range(C):
        if moneyInHand < A:
            break
        moneyInHand -= A
        countOfListen += 1

    print(countOfListen)

if __name__ == '__main__':
    main()

Solution (Python):
A, B, C= map(int,input().split())
D = B;
count = 0;
while D-A >= 0:
    D -= A
    count += 1
    if count == C:
        break
    
print(count)

Solution (Python):
input_line = input()
sep = []
sep =input_line.split()

price = int(sep[0])
have = int(sep[1])
like = int(sep[2])

p1 = have // price

if p1 >= like:
	print(like)
else:
	print(p1)

Solution (Python):
A,B,C = map(int,input().split())
if B/A > C:
  print(C)
else:
  print(int(B/A))

Solution (Python):
A, B, C = map(int, input().split())

print(min(C, B//A))

Solution (Python):
A, B, C = map(int, input().split())

count = 0

if A > B:
  print(count)
  exit()

count = int(B / A)

if count >= C:
  count = C
  
print(count)

Solution (Python):
A, B, C = map(int,input().split())
if B/A>=C:
    print(C)
else:
    print(int(B/A))

Solution (Python):
abc = input().split()
a, b, c = int(abc[0]), int(abc[1]), int(abc[2])
can_hear = int((b - (b % a)) / a)
if can_hear < c:
    print(can_hear)
else:
    print(c)

Solution (Python):
A, B, C = map(int,input().split(' '))


def calc1(A,B,C):
  if A*C <= B:
    return C
  else:
    
    N = 0
    while A*N <=B:
      N += 1
    return N-1
print(calc1(A,B,C))

Solution (Python):
a, b, c = map(int, input().split())
if a*c <= b: print(c)
else: print(int(b/a))

Solution (Python):
A, B, C = [int(i) for i in input().split()]
if A*C < B:
    print(C)
else:
    print(int(B/A))

Solution (Python):
input = input().split()
A = int(input[0])
B = int(input[1])
C = int(input[2])

D = int(B/A)

if C < D:
	print(C)
	
else:
	print(D)

Solution (Python):


A,B,C=input().split(" ")
A=int(A)
B=int(B)
C=int(C)




print(min(C, B//A))

Solution (Python):
a,b,c=map(int, input().split())
if b>=a*c:
    print(c)
else:
    print(b//a)

Solution (Python):
a,b,c =map(int, input().split()) 

if b//a<= c :
    print(b//a)
elif b//a> c:
    print(c)

Solution (Python):
A, B, C = map(int, input().split())

print(min(B // A, C))

Solution (Python):
import math
A, B, C = map(int, input().split())
if A > B:
    print(0)
else:
    print(min(math.floor(B/A),C))

Solution (Python):
A, B, C = map(int,input().split())
print(min(B//A, C))

Solution (Python):
a, b, c = map(int, input().split())
if a*c <= b: print(c)
else: print(b//a)

Solution (Python):
x, y, z = map(int, input().split())
print(min(y//x,z))

Solution (Python):
a,b,c = map(int,input().split())
n = int(b/a)
if n < c:
  print(n)
else:
  print(c)

Solution (Python):
A,B,C = map(int,input().split())

if C*A <= B:
    ans = C
else:
    ans = B//A

print(ans)

Solution (Python):
a,b,c = map(int,input().split())

d = b // a
if d > c:
    print(c)
else:
    print(d)

Solution (Python):
A, B, C = [int(x) for x in input().split(" ")]

print(B // A if B // A < C else C)

Solution (Python):


a,b,c = map(int,input().split())

ring = 0

while ring < c:
    if a <= b:
        b -= a
        ring += 1
    else:
        break

print(ring)

Solution (Python):
a, b, c = map(int, input().split())

if c <= int(b / a):
    print(c)
else:
    print(int(b / a))

Solution (Python):
a,b,c = list(map(int,input().split()))
if a*c <= b:
    print(c)
else:
    print(b//a)

Solution (Python):

A, B, C = map(int, input().split())
print(C if C <= B//A else B//A)

Solution (Python):
abc = list(map(int, input().split()))
a = abc[0]
b = abc[1]
c = abc[2]
if b // a < c:
    print(b // a)
else:
    print(c)

Solution (Python):
A, B, C = map(int,input().split())
if A*C >= B:
    print(int(B/A))
else:
    print(C)

Solution (Python):
A, B, C = map(int, input().split())

if A*C <= B:
  print(C)
else:
  print(int(B/A))

Solution (Python):
abc = list(map(int, input().split()))
a = abc[0]
b = abc[1]
c = abc[2]

if (b // a) <= c:
    print(b // a)
else:
    print(c)

Solution (Python):
tmp = input().split()
a,b,c = int(tmp[0]), int(tmp[1]), int(tmp[2])

if b > a*c:
  print(c)
else:
  print(int(b/a))

Solution (Python):
a,b,c=map(int,input().split())
if b//a > c:
  print(c)
else:
  print(b//a)

Solution (Python):
a, b, c =map(int, input().split())
ans = 0
if b//a > c:
    print(c)
else:
    print(b//a)

Solution (Python):
a,b,c = map(int,input().split())
print(min(c,b//a))

Solution (Python):
value, all_money, max_num = [int(i) for i in input().split()]



"""
value を最大max_numまでかける
・途中でall_moneyを上回ったら終了
・全てかけてもmax_numかけても上回らなかった時はmax_numで終了
"""

num = 0
money = 0

for i in range(1, max_num + 1):
    money = value * i
    num = i
    if money > all_money:
        num = num - 1
        break


print(num)

Solution (Python):
A, B, C = map(int, input().split())

if A * C < B:
        print(int(C))
else:
        D = B%A
        ans = B - D
        print(int(ans / A))

Solution (Python):
A,B,C=(int(i) for i in input().split())
if A*C<=B:
  print(C)
else:
  print(int(B/A))

Solution (Python):
a,b,c = list(map(int, input().split()))
 
for i in range(c+1):
  if a*i <= b:
    ans = i
print(ans)

Solution (Python):
from sys import stdin


A, B, C = [int(x) for x in stdin.readline().rstrip().split()]

available_count = B // A

if available_count > C:
    print(C)
else:
    print(available_count)

Solution (Python):
a, b, c = map(int, input().split())

d = b // a

print(min(d,c))

Solution (Python):
a, b, c = map(int, input().split())
ans = min(c, int(b/a))
print(ans)

Solution (Python):
a,b,c=map(int,input().split())
print(min(c,b//a))

Solution (Python):
A,B,C = map(int, input().split())
print(min([B // A, C]))

Solution (Python):
a,b,c = list(map(int, input().split()))

for i in range(c+1):
  if a*i <= b:
    ans = i
print(ans)

Solution (Python):
A, B, C = map(int, input().split())
max_money = A * C
if B >= max_money:
    sound_times = C
else:
    sound_times = int(B / A)
print(sound_times)

Solution (Python):
a,b,c=map(int,input().split())
x=0
for i in range(1,c+1):
  if b>=a*i:
    x=x+1
  else:
    x=x
print(x)

Solution (Python):
a, b, c = map(int, input().split())
print(min(b // a, c))

Solution (Python):
A, B, C = map(int, input().split())
print(min(B//A, C))

Solution (Python):
A, B, C = map(int, input().split())
print(min(B // A, C))

Solution (Python):
a, b, c = map(int, input().strip().split())
print(min(b // a, c))

Solution (Python):
A, B, C = [int(i) for i in input().split()]

x = B // A

if x > C:
  print(C)
else:
  print(x)

Solution (Python):
a, b, c = map(int, input().split())

if b >= a*c:
    print(c)
else:
    print(b//a)

Solution (Python):
i = 0
a, b, c = map(int, input().split())
if b >= a*c:
    print(c)
else:
    while a*i <= b:
        i += 1
    print(i-1)

Solution (Python):
A,B,C=map(int,input().split(" "))



print(min(B//A,C))

Solution (Python):
A,B,C = map(int,input().split())
n = B//A
print(min(n,C))

Solution (Python):
A, B, C = map(int,input().split(" "))
print(min(B//A,C))

Solution (Python):
A,B,C = map(int,input().split())

if B/A >= C:
    print(C)

else :
    print(int(B/A))

Solution (Python):
a,b,c = map(int,input().split())
if b/a >= c:
    print(c)
else:
    print(int(b/a))

Solution (Python):
A, B, C = map(int, input().split())

print(min(B//A, C))

Solution (Python):
A,B,C=map(int,input().split())
if B/A >=C:
  print(C)
elif B/A <C:
  print(B//A)

Solution (Python):
a,b,c = map(int, input().split())
if a*c > b:
    print(int(b/a))
else:
    print(c)

Solution (Python):
A,B,C=map(int,input().split(' '))
print(min(B//A,C))

Solution (Python):
A,B,C = map(int, input().split())
if B>=A*C:
  print(C)
else:
  print(B//A)

Solution (Python):

import sys


def solve(A: int, B: int, C: int):
    ret = min(B // A, C)
    print(ret)
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  
    B = int(next(tokens))  
    C = int(next(tokens))  
    solve(A, B, C)

if __name__ == '__main__':
    main()

Solution (Python):


a, b, c = map(int, raw_input().split())

num = b/a
if num >= c: print c
else: print num

Solution (Python):
A_B_C = [int(x.strip()) for x in input().split()]
print(min(int(A_B_C[1]/A_B_C[0]), A_B_C[2]))

Solution (Python):
A,B,C=input().split()
A=int(A)
B=int(B)
C=int(C)
print(int(min([B/A,C])))

Solution (Python):
A,B,C=input().split()
A=int(A)
B=int(B)
C=int(C)
if B/A<C :
  print(int(B/A))
else :
  print(C)

Solution (Python):
a,b,c = map(int,input().split())

k = b // a

if k <= c:
    print(k)
else:
    print(c)

Solution (Python):
def favorite_sound(A, B, C):
    return min(B//A, C)

if __name__ == "__main__":
    A, B, C = map(int, input().split())
    print(favorite_sound(A, B, C))

Solution (Python):
a, b, c = [int(x) for x in input().split()]
print(min(b//a, c))

Solution (Python):
def solve(string):
    a, b, c = map(int, string.split())
    return str(min(c, b // a))


if __name__ == '__main__':
    print(solve(input()))

Solution (Python):

A, B, C = map(int, input().split())
print(min(B//A, C))

Solution (Python):

a, b, c = map(int, input().split())

d = int(b / a)
if c > d:
    c = d
print(c)

Solution (Python):
ABC=list(map(int,input().split()))

if ABC[1]/ABC[0]<ABC[2]:
 print(int(ABC[1]/ABC[0]))
else:
  print(ABC[2])

Solution (Python):


if __name__ == "__main__":
    A, B, C = map(int, input().split())
    print(min(B // A, C))

Solution (Python):
A, B, C = [int(_) for _ in input().split()]
print(min(B // A, C))

Solution (Python):
a, b, c = list(map(int,input().split()))
q = int(b / a)
if q > c:
    print(c)
else:
    print(q)

Solution (Python):
A, B, C=map(int, input().split())




if A*C<=B:
  print(C)
else:
    if A*C>B:
        print(B//A)
    else:
        print("0")

Solution (Python):
a, b, c = map(int, input().split())
i=0
while(a*i<=b and i<=c):
    i += 1
print(i-1)

Solution (Python):
A,B,C = map(int,input().split())

List=[B//A,C]
print(min(List))

Solution (Python):

import sys

def main():
	A, B, C = map(int, input().split())
	
	tmp = B // A
	if tmp >= C:
		print(C)
	else:
		print(tmp)
			
		
if __name__ == "__main__":
	main()

Solution (Python):
a,b,c=(int(x)for x in input().split())
x=0
if a*c<=b:
    print(c)
else:
    while b>=a:
        x+=1
        b-=a
    print(x)

Solution (Python):
a,b,c = map(int,input().split())

if a*c <= b:
    print(c)
else:
    print(b//a)

Solution (Python):
a,b,c = map(int,input().split())
x = int(b/a)
if x>c:
    print(c)
else:
    print(x)

Solution (Python):
a=input().split()
A = int(a[0])
B = int(a[1])
C = int(a[2])
if A*C < B:
    print(C)
else:
    print(int(B/A))

Solution (Python):
A, B, C = map(int, input().split())
print(min(B//A, C))

Solution (Python):
def int_raw():
    return int(raw_input())
 
def words_raw():
    return raw_input().split()
 
def ints_raw():
    return map(int, words_raw())

A, B, C = ints_raw()
print min( B / A, C)

Solution (Python):
import math
A, B, C = map(int, input().split())
if A <= B:
    answer = min(math.floor(B/A),C)
else:
    answer = 0
print(answer)

Solution (Python):

a,b,c = map(int, input().split())

if b//a >c:
  print(c)
else:
  print(b//a)

Solution (Python):
A, B, C = map(int, input().split())
print(min(int(B / A), C))

Solution (Python):
A, B, C = map(int, input().split())
print(min(int(B / A), C))

Solution (Python):

def main():
	A,B,C = map(int,input().split())
	count = C if A*C < B else int(B/A)
	print(count)
if __name__ == "__main__" :
	main()

Solution (Python):
A,B,C = map(int,input().split())

if B // A >= C:
    print(C)
else:
    print(B // A)

Solution (Python):
A,B,C = map(int,input().split())

ans = B//A

if ans > C:
	ans = C

print(ans)

Solution (Python):
a,b, c = map(int, raw_input().split())
if b/a >=c:
    print (c)
elif a>b:
    print (0)
else:
    print (b/a)

Solution (Python):
a, b, c = map(int, input().split())                                             

if b//a >= c: print(c)
else: print(b//a)

Solution (Python):
A, B, C = [int(x) for x in input().split()]
print(min(int(B/A), C))

Solution (Python):
a,b,c = map(int,input().split())
if b//a > c :
  an = (c)
else :
  an = (b//a)
print(an)

Solution (Python):
a,b,c=map(int,input().split())
print(min(int(b/a),c))

Solution (Python):
a,b,c=map(int,input().split())
print(min(int(b/a),c))

Solution (Python):
A,B,C=map(int,input().split())
print(min(B//A,C))

Solution (Python):
A, B, C = map(int, input().split())
if (B // A) > C:
    ans = C
else:
    ans = B // A
print(ans)

Solution (Python):
A,B,C=map(int, input().split())
if B//A >= C:
    print(C)
else:
    print(B//A)

Solution (Python):
a,b,c = map(int, input().split())
print(min(b//a,c))

Solution (Python):
a,b,c=map(int,input().split(" "))
if a*c<=b:
    print(c)
else:
    print(b//a)

Solution (Python):
a,b,c = map(int, input().split())
A = int(b/a)
if A<c:
  ans = A
else:
  ans = c
print(ans)

Solution (Python):
A,B,C = (int(i) for i in input().split())
sho=B//A

if sho >= C :
    print(C)
else:
    print(sho)

Solution (Python):
a, b, c = map(int, input().split())
if b >= a * c:
    print(c)
else:
    print(int(b/a))

Solution (Python):
a, b, c = map(int, input().split())

if b > a * c:
    print(c)
else:
    print(b//a)

Solution (Python):
a,b,c = map(int, input().split())
print(min(b//a, c))

Solution (Python):
a,b,c = map(int,input().split())
print(min(b//a,c))

Solution (Python):
import sys

A, B, C = map(int, input().split())
D = B // A

if C <= D:
    print(C)
else:
    print(D)

Solution (Python):
cost, money, enough = map(int, input().split())

times = money // cost
if(times > enough):
    print(enough)
else:
    print(times)

Solution (Python):
A,B,C=map(int,input().split())
num=B//A
if num>C:
  print(C)
else:
  print(num)

Solution (Python):
A,B,C = map(int,input().split())
ans = 0

while B >= A and C != ans:
    B -= A
    ans += 1
print(ans)

Solution (Python):
ABC=input().split()
A=int(ABC[0]);B=int(ABC[1]);C=int(ABC[2])
count=0
while A<=B:
    count+=1
    B=B-A
if count<C:
    print(str(count))
else:
    print(str(C))

Solution (Python):
A,B,C=map(int,input().split())

count=0
while B>=A and count<C:
    count+=1
    B=B-A
print(count)

Solution (Python):

A, B, C = map(int, input().strip().split())
cnt = B//A
if cnt < C:
	print(cnt)
else:
	print(C)

Solution (Python):
A, B, C = map(int, input().split())
print(min(C, B // A))

Solution (Python):
A,B,C = map(int,input().split())
if A*C <= B:
    print(C)
elif A*C > B:
    print(B//A)

Solution (Python):
a, b, c = map(int, input().split())
if a * c <= b:
  print(c)
else:
  print(b // a)

Solution (Python):
A, B, C = map(int, input().split())

print(min(C, int(B/A)))

Solution (Python):
A,B,C = map(int, input().split())
n = B // A
if n > C:
    n = C
print(n)

Solution (Python):
a, b, c = map(int, input().split())
res = b // a
if res > c:
  res = c
print(res)

Solution (Python):
a,b,c = map(int,input().split())

sounds = b//a

if sounds > c:
    print(c)
else:
    print(sounds)

Solution (Python):
A, B, C = map(int, input().split())

if int(B / A) > C:
  print(C)
else:
  print(int(B/A))

Solution (Python):
a, b, c = map(int, input().split())
if(b/a>=c):
    print(c)
else:
    print(b//a)

Solution (Python):
a,b,c = map(int,input().split())
print(min(b//a,c))

Solution (Python):
A, B, C = map(int, input().split())

max_count = B / A

result = 0
if max_count > C:
    result = int(C)
else:
    result = int(max_count)

print(result)

Solution (Python):
if __name__ == '__main__':
    A, B, C = map(int, input().split())
    playable = B // A
    print(min(C, playable))

Solution (Python):
A, B, C = (int(x) for x in input().split())

count = int(B/A)
if count <= C:
    print(count)
else:
    print(C)

Solution (Python):
def main():
    A, B, C = map(int, input().split())
    if (B/A) < C:
        print(int (B/A))
    else:
        print(C)

main()

Solution (Python):
import math

A, B, C = map(int, input().split())
ans = 0
AB = math.floor(B / A)
if AB <= C:
    ans = AB
else:
    ans = C
print(ans)

Solution (Python):

import sys


def solve(A: int, B: int, C: int):
    print(min(C, int(B/A)))
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  
    B = int(next(tokens))  
    C = int(next(tokens))  
    solve(A, B, C)

if __name__ == '__main__':
    main()

Solution (Python):
A,B,C=map(int,raw_input().split())

times=B/A

if C <= times:
    print C
else:
    print times

Solution (Python):
A,B,C = map(int,input().split())

if C*A < B:
  print(C)
else:
  count = 0
  for i in range(0,C):
    if B >= A:
      B -= A
      count+= 1
    else:
      break
  print(count)

Solution (Python):
import sys
stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip() 

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

Solution (Python):
A,B,C=map(int,input().split())

print(min(B//A,C))

Solution (Python):
a,b,c = [int(i) for i in input().split(" ")]
if (a*c <= b):
    print(c)
else:
    print(b // a)

Solution (Python):
a, b, c = map(int, input().split())
print(min(c, b//a))

Solution (Python):
A,B,C=map(int,input().split())
if B>A*C:print(C)
else:print(B//A)

Solution (Python):
info = input().split(' ')
price = int(info[0])
money = int(info[1])
max_time = int(info[2])
times = money // price
if times <= max_time:
  print(times)
else:
  print(max_time)

Solution (Python):
price, money, satisfy_count  = map(int, raw_input().split())
  
possible_count = money // price
if possible_count < satisfy_count:
  print possible_count
else:
  print satisfy_count

Solution (Python):
A,B,C = map(int,input().split())
print(min(B//A,C))

Solution (Python):
a, b, c = map(int, input().split())
ans = 0
for i in range(1, b//a+1):
    ans += 1
if c <= b//a:
    ans = c
print(ans)

Solution (Python):
a,b,c= map(int,input().split())
print((b//a) if (b//a)<=c else c)

Solution (Python):
A, B, C = map(int,input().split())
print(min(B//A, C))

Solution (Python):
A,B,C = [int(x) for x in input().split(' ')]
print(min(B // A,C))

Solution (Python):
a, b, c = map(int, input().split())
print(min(b // a, c))

Solution (Python):
a,b,c=map(int,input().split())

d= b//a
if d<=c:
  print(d)
else:
  print(c)

Solution (Python):
A,B,C=map(int,input().split())
print(min(int(B/A),C))

Solution (Python):
a,b,c = map(int,input().split())
if b>=a*c:
    print(c)
else:
    print(int(b/a))

Solution (Python):
a, b, c = (int(i) for i in input().split())

count = 0
for i in range(c):
    if b >= a:
        b = b-a
        count = i+1
    i+=1

print(count)

Solution (Python):
a,b,c = list(map(int,input().split()))
print(min(c,b//a))

Solution (Python):
a, b, c = map(int,(input().split()))
print(min(int(b/a),c))

Solution (Python):
a,b,c = map(int,input().split())

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

Solution (Python):
a, b, c = map(int, input().split())
print(min(b//a, c))

Solution (Python):



a,b,c=map(int,input().split())
if b/a<=c:
	print(int(b/a))
else:
	print(c)

Solution (Python):
a,b,c = map(int,input().split())
b =b//a
print(min(b,c))

Solution (Python):
a,b,c=map(int,input().split())
print(min(b//a,c))

Solution (Python):
a, b, c = (int(i) for i in input().split())  
print(min(c,(int)(b/a)))

Solution (Python):
a, b, c = map(int, raw_input().split())
d = b / a
if d > c:
    print c
else:
    print d

Solution (Python):
a,b,c=[int(i) for i in input().split()]
if a>b:
    print('0')
    exit()
if b//a <=c:
    print(b//a)
else:
    print(c)

Solution (Python):
li = list(map(int, input().split()))
i = li[1] // li[0] if li[1] // li[0] < li[2] else li[2]
print(i)

Solution (Python):
A,B,C = (int(i) for i in input().split())
z = int(B/A)
if z > C:
    print(C)
else:
    print(z)

Solution (Python):
A, B, C = map(int,input().split())
x = B//A

if x >= C:
    print(C)
else:
    print(x)

Solution (Python):
a,b,c=[int(item) for item in input().split()]
print(min(b//a, c))

Solution (Python):
a, b, c = [int(i) for i in input().split(" ")]
print(min(b//a, c))

Solution (Python):
l = list(map(int, input().split()))
a, b, c = l[0], l[1], l[2]

if b/a>c:
  print(c)
else:
  print(int(b/a))

Solution (Python):
a, b, c = map(int, input().split())
if b >= a*c:
    print(c)
else:
    print(b//a)

Solution (Python):
a, b, c = map(int, input().split())
print(min(b//a, c))

Solution (Python):
A, B, C = map(int,input().split())
print(min(B//A,C))

Solution (Python):


a, b, c = map(int, input().split())
retVal = 0

if a > b:
    retVal = 0
elif b // a < c :
    retVal = b // a
else :
    retVal = c

print(retVal)

Solution (Python):
a,b,c = input().split()
d = min(int(c),int(b)//int(a))
print(d)

Solution (Python):


input = list(map(int, input().split()))
A = input[0]
B = input[1]
C = input[2]

print(B//A if B/A < C else C)

Solution (Python):
a, b, c= map(int, input().split())

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

Solution (Python):
a,b,c = map(int,input().split())
if int(b/a) >= c:
    print(c)
else:
    print(int(b/a))

Solution (Python):
A, B, C = map(int, input().split())

n = B // A
if n > C:
    n = C
print(n)

Solution (Python):
A,B,C = map(int,input().split())
print(min(B//A,C))

Solution (Python):
A,B,C = input().split()
result = min(int(int(B)/int(A)), int(C))
print(result)

Solution (Python):
a, b, c = [int(x) for x in input().split()]
print(min(c,int(b/a)))

Solution (Python):
l = list(map(int, input().split()))
print("{}".format(min(int(l[1]/l[0]), l[2])))

Solution (Python):
a, b, c = map(int, input().split())
print(min(b // a, c))

Solution (Python):
A,B,C = map(int,input().split())

tmp = B//A
if tmp < C:
    print(tmp)
else:
    print(C)

Solution (Python):
a,b,c = map(int, input().split())
if b//a > c:
  print(c)
else:
  print(b//a)

Solution (Python):


A, B, C = map(int, input().split())

if B // A >= C:
  print(C)
elif B // A < C:
  print(B//A)

Solution (Python):
A,B,C=map(int,input().split())
print(min(B//A, C))

Solution (Python):
usr_input = input()
lst = usr_input.split()

a = int(lst[0])
b = int(lst[1])
c = int(lst[2])

if b//a < c:
    print(b//a)
else:
    print(c)

Solution (Python):
a,b,c = [int(i) for i in input().split()]

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

Solution (Python):


tmp = list(map(int,input().split()))

A = tmp[0]
B = tmp[1]
C = tmp[2]
count = 0
while (B-A)>= 0 and count<C:
  B -= A
  count+=1
print(count)

Solution (Python):
input = input()
a,b,c = map(int,input.split())
print (min(b//a,c))

Solution (Python):



a, b, c = map(int, raw_input().split())

count = 0

while b > 0:
    if b-a <0: break
    b  = b - a
    count += 1

    if count == c: break

print count

Solution (Python):
a,b,c = map(int, input().split())
print(min(b,a*c) // a)

Solution (Python):
A,B,C = list(map(int,input().split()))
print(min(B//A,C))

Solution (Python):
A, B, C = [int(_) for _ in input().split()]

print(min(B // A, C))

Solution (Python):
A,B,C=map(int,input().split())
print(min(B//A,C))