input: Write a python function to extract the image name and the command from a given Kubernetes Pod YAML configuration.
  assert extract_image_and_command(yaml_config) == ('<INSERT_PUBLIC_PULLABLE_IMAGE_PATH_HERE>', ['sh', '-c', 'crontab -lcrontab && while true; do python publish-tweet.py && crontab -l | { cat; echo "*/5 * * * * python publish-tweet.py"; } | crontab -; sleep 31622400; done'])
  assert extract_image_and_command(another_yaml_config) == ('<ANOTHER_IMAGE_PATH>', ['sh', '-c', 'some_command'])
output: import yaml
  
  def extract_image_and_command(yaml_config):
      parsed_yaml = yaml.safe_load(yaml_config)
      containers = parsed_yaml['spec']['containers'][0]
      image = containers['image']
      command = containers['command']
      return image, command