n=int(input("Shemoitanet ricxvi: "))
x=7
a=0
y=0
while x<=n :
    a=x//14+1
    y=7*(a**2)
    x += 14
print("aseti ricxvebis raodenoba aris ",a)
print("am ricxvebis jami aris ",y)





28fce81256d9c6b9ddd0df10de480d7e329e0e3f
<mask token>

<mask token>
while x <= n:
    a = x // 14 + 1
    y = 7 * a ** 2
    x += 14
print('aseti ricxvebis raodenoba aris ', a)
print('am ricxvebis jami aris ', y)

n = int(input('Shemoitanet ricxvi: '))
x = 7
a = 0
y = 0
while x <= n:
    a = x // 14 + 1
    y = 7 * a ** 2
    x += 14
print('aseti ricxvebis raodenoba aris ', a)
print('am ricxvebis jami aris ', y)

n=int(input("Shemoitanet ricxvi: "))
x=7
a=0
y=0
while x<=n :
    a=x//14+1
    y=7*(a**2)
    x += 14
print("aseti ricxvebis raodenoba aris ",a)
print("am ricxvebis jami aris ",y)




