# your code goes here
n = 1234
print(map(int, str(n)))
print(type(map(int, str(n))))
# map is a generator which yeilds an object when we call next()
# or iterate using loop
IyB5b3VyIGNvZGUgZ29lcyBoZXJlCm4gPSAxMjM0CnByaW50KG1hcChpbnQsIHN0cihuKSkpCnByaW50KHR5cGUobWFwKGludCwgc3RyKG4pKSkpCiMgbWFwIGlzIGEgZ2VuZXJhdG9yIHdoaWNoIHllaWxkcyBhbiBvYmplY3Qgd2hlbiB3ZSBjYWxsIG5leHQoKQojIG9yIGl0ZXJhdGUgdXNpbmcgbG9vcA==