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 = map(int, input().split())
ans = 0
while B >= A:
  ans += 1
  B -= A
  if ans == C:
    break
print(ans)

Submission status: Accepted

Solution code:
n1, n2, n3 = [int(i) for i in input().split()]

r1 = n2 // n1

if r1 >= n3:
    r1 = n3

print(r1)

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 = 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())
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:
x = list(map(int, input().split()))

a = x[0]
b = x[1]
c = x[2]

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

Submission status: Accepted

Solution code:
import math
a,b,c=map(int,input().split())
if b/a>=c:print(c)
else:print(math.floor(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())
d = b // a
if d >= c:
    print(c)
else:
    print(d)

Submission status: Accepted

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

n=B//A

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

Submission status: Accepted

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

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

Submission status: Accepted

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

answer=B//A

if answer<C:
    print(answer)
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())

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

Submission status: Accepted

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

Submission status: Accepted

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

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())
enable_num = int(B//A)

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

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())

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

Submission status: Accepted

Solution code:
# H, W = map(int, input().split())
# h, w = map(int, input().split())
#
# print(H*W - h*W - H*w + h*w)

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(c if a*c<=b else int(b/a))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def abc():
    price, wallet, want = map(int, input().rstrip().split())
    quantity = int(wallet / price)
    print(min(quantity, want))


abc()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
li = list(map(int,input().split()))
A = li[0]
B = li[1]
C = li[2]
if B >= A * C:
  print(C)
else:
  print(int(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
cost, money, satisfy = [int(x) for x in sys.stdin.readline().rstrip().split()]
print(min(satisfy, money // cost))

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())
d=int(b/a)
if d>=c:
  print(c)
else:
  print(d)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
num = [int(i) for i in input().split()]
count = 0

for i in range(num[2]):
    if num[1] // num[0] != 0:
        count += 1
        num[1] -= num[0]
print(count)

Submission status: Accepted

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

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

possible = int(B / A)

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

Submission status: Accepted

Solution code:
A,B,C = (int(i) for i in 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())
print(C if A * C < B else B // A )

Submission status: Accepted

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

max_num = B // A

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

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(" "))
if A * C <= B:
    print(C)
else:
    print(B // A)

Submission status: Accepted

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

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

print(ans)

Submission status: Accepted

Solution code:
# 一回A円
# B円持っている
# C回聞くと満足する
A,B,C = map(int, input().split())

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

Submission status: Accepted

Solution code:
import math
inp = input().split(" ")
a = int(inp[0])
b = int(inp[1])
c = int(inp[2])

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
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:
import math

a = [int(i) for i in input().split(" ")]
if a[2] * a[0] <= a[1]:
  print(a[2])
else:
  b = math.floor(a[1] / a[0])
  print(b)

Submission status: Accepted

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

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

Submission status: Accepted

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

m = B//A
print(min(m,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())
d=int(b/a)
if d>c:
  print(c)
else:
  print(d)

Submission status: Accepted

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

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:
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())

s=b//a

if s>=c:
    print(c)

else:
    print(s)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
d=a
e=0
while d<=b:
    e+=1
    d+=a
    if e==c:
        break
print(e)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
nums = input().split()

A = int(nums[0]) # 一回分
B = int(nums[1]) # 所持金
C = int(nums[2]) # 満足

cnt = 0
while True:
    
    # 所持金が足りない場合
    if B < A:
        break

    # 満足するまで
    if cnt >= C:
        break

    # お金が残ってたら音を聞く
    if B > 0:
        B = B - A 
        cnt+=1
    else:
        break

print(cnt)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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:
# -- coding: utf-8 --
a, b, c= map(int, input().split())

mon_lim = int(b/a)
if mon_lim < c:
    print(mon_lim)
else:
    print(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:
import sys
import itertools
from collections import deque
from operator import itemgetter

input = sys.stdin.readline
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:
#Coding:Utf-8

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

if math.floor(B/A)>C:
    print(C)
else:
    print(math.floor(B/A))

Submission status: Accepted

Solution code:
data = list(map(int,input().split()))
a = data[0]
b = data[1]
c = data[2]
del data
print(int((b-b%a)/a-((b-b%a)/a > c)*((b-b%a)/a-c)))

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
#聞ける音の数
cnt = 0
while (cnt < c) and (b - a >= 0):
        b -= a
        cnt += 1

print(cnt)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

cnt = 0
money = b
while money >= a:
    if cnt == c:
        break
    
    money -= a
    cnt += 1

print(cnt)

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(int(B/A),C))

Submission status: Accepted

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

a,b,c=intinput()
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:
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())

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

Submission status: Accepted

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

x = b//a

print(min(x,c))

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())

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

Submission status: Accepted

Solution code:

lst_1 = input().split()

A = int(lst_1[0])
B = int(lst_1[1])
C = int(lst_1[2])

ans = 0

while 1:

    if (A > B) or (C == 0):
        break
    B -= A
    ans += 1
    C -= 1

print(ans)

Submission status: Accepted

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

A = int(A)
B = int(B)
C = int(C)

if B >= (A * C):
    print(C)
elif B == (A * C):
    print(C)
elif B <= (A * C):
    print(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(b // a if b // a < c else c)

Submission status: Accepted

Solution code:
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


# aとbの最大公約数
def gcd(a, b):
    if b == 0:
        return a
    return gcd(b, a % b)


# aとbの最小公倍数
def lcm(a, b):
    g = gcd(a, b)
    return a / g * b


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

# N = A*C
# if N <= B:
#     print(C)

p, _ = divmod(B, A)
if p > C:
    print(C)
else:
    print(p)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

    if b // a >= c:
        print(c)
    else:
        print(b // a)
    
if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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())
if B<A:
    print('0')
elif (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):
    ans = c;
else:
    ans = b/a;
print(int(ans))

Submission status: Accepted

Solution code:
import math

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

if b/a > c :
  print(c)

else:
  print(math.floor(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(' '))
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 c < b//a else 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:
import sys
rr = lambda: sys.stdin.readline().strip()
ri = lambda: int(rr())
rs = lambda: [int(_) for _ in rr().split()]

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#A,B,C=100,1,10
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 B//A>=C:
	print(C)
else:
	print(B//A)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys


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


# Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = int(next(tokens))  # type: int
    C = int(next(tokens))  # type: int
    solve(A, B, C)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

ans = min(C, B // A)
# 出力
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:
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())

X = B//A
if X > C:
    ans = C
else:
    ans = X

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

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())

K = B // A

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

Submission status: Accepted

Solution code:
from sys import stdin
aa,bb,cc = stdin.readline().split()
a,b,c = int(aa), int(bb), int(cc)

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

Submission status: Accepted

Solution code:
import sys


def input():
    return sys.stdin.readline()[:-1]

# N = int(input())
# A = [int(x) for x in input().split()]
# a, b, c = map(int, input().split())
# name1 = str(input())
# alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}

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())

import math
print(min(math.floor(B/A), C))

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())
ans = b // a

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

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())
syo = B // A 
if syo > C:
    clc = syo - (syo - C)

else :
    clc = syo 

print(clc)

Submission status: Accepted

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

Submission status: Accepted

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

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

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())
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 (c <= b // a) else b // a)

Submission status: Accepted

Solution code:
A,B,C=map(int,input().split())
k=0
X=0
while X<=B:
  k+=1
  X=k*A
if k-1<C:
  print(k-1)
if k-1>=C:
  print(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())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# input
A, B, C = map(int, input().split())
ans = B // A
if ans > C:
    ans = C
print(ans)

Submission status: Accepted

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

k=x//a

print(min(k,c))

Submission status: Accepted

Solution code:
cost, money, max = map(int, input().split())
print(max if (money // cost) > max else money // cost)

Submission status: Accepted

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

# solve
ans = min(int(b/a), c) 
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

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())
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())
sum = b / a
if sum > c:
    sum = c
print(int(sum))

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 (b/a) >= c:
    print(c)
else:
    print(int(b/a))

Submission status: Accepted

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

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, raw_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 = [int(i) for i in input().split()]

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

Submission status: Accepted

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

if C > B//A:
  print(B//A)
else:
  print(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())
i = 0
while i < C and i < int(B/A):
    i += 1
print(i)

Submission status: Accepted

Solution code:
cost, money, satisfy = map(int, input().split(' '))
if (money / cost) >= satisfy:
    print(satisfy)
else:
    print(money // cost)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

# A, B, C = [100, 1, 10]
A, B, C = map(int, input().split())

ans = min(C, math.floor(B / A))

print(ans)

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())
m_max = b // a

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

Submission status: Accepted

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

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(c)
else:
  print(int(b/a))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

    if B >= A * C:
        answer = C
    else:
        answer = B // A

    print(answer)

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())

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

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=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())
if B//A < C:
    print(B//A)
else:
    print(C)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys


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


# Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = int(next(tokens))  # type: int
    C = int(next(tokens))  # type: int
    solve(A, B, C)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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 = [int(i) for i in input().split()]
cnt = 0
d = b // a
if d > c:
  print(c)
else:
  print(d)

Submission status: Accepted

Solution code:
#coding:utf-8

def main():
    a, b, c = map(int, input().split())
    d = int(b / a)

    if c <= d:
        print(c)
    elif c > d:
        print(d)

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:
A, B, C = map(int, input().split())
if(A <= B):
    if(A * C <= B):
        print(C)
    else:
        print(B//A)
else:
    print(0)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

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

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

Submission status: Accepted

Solution code:
a, b, c=map(int, input().split())
a=int(b/a)
print(min(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())

max = b//a
if (max < c):
    print(max)
else:
    print(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 = (int(x) for x in input().split())
print(min(int(b/a), c))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

if A * C <= B:
    print(C)
    exit(0)

result = 0
if A > B:
    print(result)
    exit(0)

while result * A <= B :
    if (result + 1) * A > B:
        break
    result +=1

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

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] = [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 a * c <= b:
  print(c)
else:
  print(int(b / a))

Submission status: Accepted

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

def solve():
    A, B ,C = list(map(int, input().split()))

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

if __name__ == "__main__":
    solve()

Submission status: Accepted

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

d=b//a

print(min(c,d))

Submission status: Accepted

Solution code:
a, b, c = [int(i) for i 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:
    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:
input = input().split()

intInput = [int(i) for i in input]

result = 0

#満足してしまうとき
if(intInput[0]*intInput[2] <= intInput[1]):
	print(intInput[2])
#一回も聞けないとき
elif(intInput[0]>intInput[1]):
	print(0)
#満足できないとき
else:
	for i in range(intInput[2]):
		result = result + intInput[0]
		if(intInput[1] - result < intInput[0]):
			print(i+1)
			break