Compress the following text using Lempel-Ziv-Welch (LZW) algorithm
$ACADEMICPROGRAM$
0A0C0A0D0E0M0I00P0R00G0R0A00M
<sys>[INST] Compress the following text using Lempel-Ziv-Welch (LZW) algorithm [/INST] Input:
$ACADEMICPROGRAM$ </sys>