import json
import sys

results = json.load(sys.stdin)
print(results['response']['items'][0]['id'])
