#Bai 1
rdnum = int(input("1.Nhap mot so bat ky: "))
while rdnum>0:
    a = int(rdnum%10)
    print(a)
    rdnum//=10

#Bai 2
ib = float(input("2. Nhap so du ban dau: "))
ap = float(input("Nhap phan tram lai: "))
db = float(input("Nhap so du mong muon: "))
while ib<db:
    ib=float((ib/100)*(100+ap))
    print(ib)
b3b22e7449418d0654477b56e2c6dd5e7a714dec
<mask token>

<mask token>
while rdnum > 0:
    a = int(rdnum % 10)
    print(a)
    rdnum //= 10
<mask token>
while ib < db:
    ib = float(ib / 100 * (100 + ap))
    print(ib)

rdnum = int(input('1.Nhap mot so bat ky: '))
while rdnum > 0:
    a = int(rdnum % 10)
    print(a)
    rdnum //= 10
ib = float(input('2. Nhap so du ban dau: '))
ap = float(input('Nhap phan tram lai: '))
db = float(input('Nhap so du mong muon: '))
while ib < db:
    ib = float(ib / 100 * (100 + ap))
    print(ib)

#Bai 1
rdnum = int(input("1.Nhap mot so bat ky: "))
while rdnum>0:
    a = int(rdnum%10)
    print(a)
    rdnum//=10

#Bai 2
ib = float(input("2. Nhap so du ban dau: "))
ap = float(input("Nhap phan tram lai: "))
db = float(input("Nhap so du mong muon: "))
while ib<db:
    ib=float((ib/100)*(100+ap))
    print(ib)