#devices=["R1","R2","R3","S1","S2"]
#switches=[]
#for item in devices:
#    if "S" in item:
#        switches.append(item)
        
#print (switches)


#x=input("Ingrese un numero para contar: ")
#a=int(x)
#y=1

#while y <= a:
#    print(y)
#    y = y + 1

#while True:
#    print(y)
#    y=y+1
#    if y>a:
#        break

#while True:
#    x=input("Ingrese un numero a contar:")
#    if x == 'q' or x == 'quit':
#        break
    
#    x=int(x)
#    y=1
#    while True:
#        print(y)
#        y=y+1
#        if y>x:
#            break

#for i in range(5):
#    print(i)

#result=0
#n=5
#for i in range(1, n+1):
#    result += i

#print(result)

#for i in range(10, 0, -2):
#    print(i)
    
