x = 38 n = int(input("パンの個数?")) group = int(input("班の人数?")) pain = int(n / x * group) print(pain, "個もらえます") # プログラム3-17(班がもらえるパンの個数)