Code test for S3 interview