

string = "programacion"


# string [start : stop-1]

print string[0:8]

print string [5:]  #from start to end


print string [:6]  #from begin to stop

print string [5:5] # do not exist


print string[:]  # from begin to end

input()