void _main(){int data;{char input_buf[CHAR_ARRAY_SIZE]="";fgets(input_buf, CHAR_ARRAY_SIZE, stdin);data=atoi(input_buf);}{int data_copy=data;int data=data_copy;{char data_buf[10]="AAAAAAAAA";if (data >=0){printHexCharLine(data_buf[data]);}else{printLine("ERROR: Array index is negative");}}}}
static void main(){int data;{char input_buf[CHAR_ARRAY_SIZE]="";fgets(input_buf, CHAR_ARRAY_SIZE, stdin);data=atoi(input_buf);}{int data_copy=data;int data=data_copy;{char data_buf[10]="AAAAAAAAA";{printHexCharLine(data_buf[data]);}else{printLine("ERROR: Array index is out-of-bounds");}}}}