def to_utf8(y):
out = []<EOL>for x in y:<EOL><INDENT>if x < <NUM_LIT>:<EOL><INDENT>out.append(x)<EOL><DEDENT>elif x < <NUM_LIT>:<EOL><INDENT>out.append((x >> <NUM_LIT:6>) | <NUM_LIT>)<EOL>out.append((x & <NUM_LIT>) | <NUM_LIT>)<EOL><DEDENT>elif x < <NUM_LIT>:<EOL><INDENT>out.append((x >> <NUM_LIT:12>) | <NUM_LIT>)<EOL>out.append(((x >> <NUM_LIT:6>) & <NUM_LIT>) | <NUM_LIT>)<EOL>out.append((x & <NUM_LIT>) | <NUM_LIT>)<EOL><DEDENT>else:<EOL><INDENT>out.append((x >> <NUM_LIT>) | <NUM_LIT>)<EOL>out.append((x >> <NUM_LIT:12>) & <NUM_LIT>)<EOL>out.append(((x >> <NUM_LIT:6>) & <NUM_LIT>) | <NUM_LIT>)<EOL>out.append((x & <NUM_LIT>) | <NUM_LIT>)<EOL><DEDENT><DEDENT>return '<STR_LIT>'.join(map(chr, out))<EOL>
converts an array of integers to utf8 string