<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list():
 """Lists buckets, by name."""

    s3 = boto3.resource('s3')
    return [b.name for b in s3.buckets.all()]