# By submitting this assignment, I agree to the following:
#  “Aggies do not lie, cheat, or steal, or tolerate those who do”
#  “I have not given or received any unauthorized aid on this assignment”
#
# Name:           Arya Ramchandani
# Section:        021
# Assignment:     lab2b-2
# Date:           12/9/18


# to print value 1
x=1
z=0
z+=x

print(z)

print("")

# to print value 3

x=1
z=0
x+=1
x+=1
z+=x

print(z)

print("")

# to print value 11

z=0
y=10
x=y
x+=1
z+=x
print(z)

print("")

# to print value 28

x = 1
y = 10
z = 0
x += 1
y+=x
y+=x
y*=x
z+=y
print(z)

print("")

# to print value 123

x=1
y=10
z=0
x=y
x+=1
x+=1
y*=x
x=1
y+=x
y+=x
y+=x
z+=y
print(z)

print("")

# to print 10^32
x=1
y=10
z=0
x=y
y*=x
x=y
y*=x
x=y
y*=x
x=y
y*=x
x=y
y*=x
z+=y
print(z)

print("")

# to print 4321

x=1
y=10
z=0
x=y
y*=x
y*=x
x=1
x+=1
x+=1
x+=1
y*=x
z+=y

x=1
y=10
x=y
y*=x
x=1
x+=1
x+=1
y*=x
z+=y

x=1
y=10
x+=1
y*=x
x=1
y+=x
z+=y

print(z)




