Compress the printed snapshot using a provided utility.
The judge provides a callable named compress that accepts the snapshot and returns its compressed representation. Implement compress_snapshot by passing the input to that utility and returning the result.
snapshot, a string containing the printed snapshot.compress utility.Do not reimplement or modify the compression logic.
snapshot is a stringcompress utility accepts one string argumentdef compress_snapshot(snapshot):