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



Sample input:
2 11 4


Sample output:
4

Submission status: Accepted

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

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

Submission status: Accepted

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

kai = b//a

if kai >= c:
    print(c)
else:
    print(kai)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split());print([b//a,c][a*c<b])

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

N = B // A

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def main():
    A, B, C = map(int, input().split())
    count = 0
    while B - A >= 0 and count < C:
        B -= A
        count += 1
    print(count)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import math

def main():
    A,B,C =  map(int, input().split())
    max_kai = math.floor(B/A)
    if max_kai > C:
        print(C)
    else:
        print(max_kai)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# ABC120A - Favorite Sound
def main():
    A, B, C = map(int, input().split())
    flg = A <= B
    print(min(B // A, C) if flg else 0)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = list(map(int,input().strip().split()))
can = int(b/a)
ans = [can,c]
print(min(ans))

Submission status: Accepted

Solution code:
a , b , c = map(int,input().split())
n = int(b / a)

if n >= c:
    print(c)
else:
    print(n)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split())
t=B//A #聞ける回数
if t>C:
    print(C)
else:
    print(t)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
d=0
while (d+1)<=c and (b-a)>=0:
  b=b-a
  d=d+1
print(d)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a_list=list(map(int,input().split()))
A=a_list[0]
B=a_list[1]
C=a_list[2]
if B//A <= C:
    answer=B//A
else:
    answer=C
print(answer)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def slove():
    import sys
    input = sys.stdin.readline
    a, b, c = list(map(int, input().rstrip('\n').split()))
    print(min(b // a, c))


if __name__ == '__main__':
    slove()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin

A,B,C = map(int,stdin.readline().strip().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split())
money = B
utility = 0
if A > B:
    print(utility)
else:
    while (utility < C) and (money-A >= 0):
        utility += 1
        money -= A
    print(utility)

Submission status: Accepted

Solution code:
def func():
    str = input()
    x, y, z = str.split()
    x = int(x)
    y = int(y)
    z = int(z)
    print(int(min((y/x), z)))


if __name__ == "__main__":
    func()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = (int(x) for x in input().split())
print(c) if int(b/a) > c else print(int(b/a))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


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

Submission status: Accepted

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

count = 0
while 1:
    if B < A:
        break
    if C > 0:
        B -= A
        count += 1
        C -= 1
    else:
        break

print(count)

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#2019/09/26
A, B, C = map(int, input().split())
print(min(B//A, C))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

print min((b/a), c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
n=b
m=0
while m<c and n>=a:
    n+=(-1)*a
    m+=1
    
print(m)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a, b, c = map(int, input().split())
if a*c <= b:
    print(c)
else:
    print(b//a)

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split(" "))
ans = None

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def main(A, B, C):
    return min(B//A,C)

args = input().split()

print(main(int(args[0]), int(args[1]), int(args[2])))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def resolve():
    (A,B,C)=(int(i) for i in input().split())
    print(min(C,int(B/A)))

if __name__ == "__main__":
    resolve()

Submission status: Accepted

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

count = b // a

print(min(count, c))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=list(map(int,input().split()))

if(s[1]/s[0]>=s[2]):
    print(s[2])

else:
    print(int(s[1]/s[0]))

Submission status: Accepted

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

ans = min(c, max(0, b // a))

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#19:17
a,b,c = map(int,input().split())
print(min(b//a,c))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if a > b:
    res = 0
else:
    if a*c <= b:
        res = c
    else:
        res = b // a

print(res)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

if b-c*a>=0:
    print(c)
if b-c*a < 0:
    print(b//a)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
   
a,b,c=map(int,input().split())
print(min((b//a),c))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
a,b,c=map(int,input().split())
ans=b//a
ans=min(c,ans)
print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def main():
    a, b, c = [int(i) for i in input().split()]
    ans = b // a
    print(min(ans, c))


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
def main():
    a, b, c = [int(i) for i in input().split()]
    ans = b // a
    print(min(ans, c))


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

q = B // A

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

Submission status: Accepted

Solution code:
s=list(input().split())
a=int(s[0])
b=int(s[1])
c=int(s[2])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def MAP(): return list(map(int,input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input=sys.stdin.readline

def main():
    A,B,C = map(int, input().split())
    n = 0
    while B >= A and n < C:
        B -= A
        n += 1
    print(n)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

d  =int(b/a)

if d>=c:
	print(c)

else:
	print(d)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
x = input().split()
A = int(x[0])
B = int(x[1])
C = int(x[2])
if (math.floor(B/A) >= C):
  print(C)
else:
  print(math.floor(B/A))

Submission status: Accepted

Solution code:

if __name__ == '__main__':
    x,y,z = map(int,input().split())
    print(min(y//x,z))

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

D = B//A

print(D if D <= C else C)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
manzoku = a*c
genjitu = b // a

if manzoku > b:
    print(genjitu)
else:
    print(c)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
ans = B // A

if ans >= C:
    ans = C

print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
str = input().split()
a = int(str[0])
b = int(str[1])
c = int(str[2])
 
if b // a > c:
	print(c)
else:
	print(b // a)

Submission status: Accepted

Solution code:
source = input().split()
A, B, C = int(source[0]), int(source[1]), int(source[2])
flag = True
index = 0
while B >= A and index <= C:
    B -= A
    index += 1
    if index == C:
        print(C)
        flag = False
        break
if flag:
    print(index)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

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

Submission status: Accepted

Solution code:
import math
A, B, C = map(int, input().split())
print(min(math.floor(B / A), C))

Submission status: Accepted

Solution code:
A,B,C=map(int,input().split())
result = 0
left_money=B
while left_money>=A and C>0:
  left_money-=A
  C-=1
  result +=1
else:
  print(result)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    a, b, c = map(int, input().split())

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

answer=b//a

if answer<c:
  print(answer)
else:
    print(c)

Submission status: Accepted

Solution code:
#ABC120 A
A,B,C = list(map(int, input().split()))
if (B/A) < C:
    print(int(B/A))
else:
    print(C)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ABC = input().split()
A = int(ABC[0])
B = int(ABC[1])
C = int(ABC[2])
if B / A > C:
  print(C)
else:
  print(int(B / A))

Submission status: Accepted

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

ans=0
while True:
  if b<a or ans==c:
    break
  b-=a
  ans+=1
print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
d=int(b/a)
if d>=c:
    print(c)
elif d<c:
    print(d)

Submission status: Accepted

Solution code:
cost, money, n = map(int, input().split())
cnt = money // cost
if cnt < n:
    print(cnt)
else:
    print(n)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if 1 <= a <= 100 and 1 <= b <= 100 and 1 <= c <= 100:
    if c <= b // a:
        print(c)
    else:
        print(int(b // a))
else:
    print('hoge')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    A, B, C = map(int, input().split())
    return min(B // A, C)

if __name__ == '__main__':
    print(main())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
n = b//a #高橋君が音楽を聞ける回数
print(c if n>c else n)

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
print('{0}'.format(B//A) if B//A < C else '{0}'.format(C))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list1 = [i for i in input().split()]

n1 = int(list1[0])
n2 = int(list1[1])
n3 = int(list1[2])

ans = int(n2//n1)

if ans> n3:
    print (n3)
else:
    print (ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

print([B//A,C][B//A>C])

Submission status: Accepted

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

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

Submission status: Accepted

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

tmp=b//a

if tmp>=c:
    print(c)
else:
    print(tmp)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve():
    a, b, c = map(int, input().split())
    return min(c, b // a)


if __name__ == "__main__":
    print(solve())

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math

# inputList=[]
# for i in range(6):
#     inputNum = input()
#     inputList.append(inputNum)
inputa = input().split()
# inputb = input().split()

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

# x = int(inputb[0])
# y = int(inputb[1])

ans = int(math.floor(float(b)/float(a)))

if ans > c:
    ans = c

print(ans)

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def test():
    a,b,c = map(int,input().split())

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


if __name__ == "__main__":
    test()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
ABC = list(map(int,input().split()))
count = 0
money = ABC[1]

for n in range(ABC[2]):
    if money >= ABC[0]:
        money = money - ABC[0]
        count = count + 1

print(count)