from __future__ import print_function
from __future__ import unicode_literals

s = 'aaaa bbbb cccc dddd'

print(s[0])
print(s[-2])
print(s[-3:])
print(s[:-3])
print(s[:])
print(s[::2])
print(s[::-1])
print(s[::100])