<jupyter_start><jupyter_text>https://www.hackerrank.com/challenges/nested-list/problem<jupyter_code>mark_sheet = []
score_list = []

for _ in range(int(input())):
    name = input()
    score = float(input())
    mark_sheet.append([name,score])
    score_list.append(score)
second_lowest_mark = sorted(list(dict.fromkeys(score_list)))[1]
print(second_lowest_mark)
for name,marks in sorted(mark_sheet):
    if marks == second_lowest_mark:
        print(name)<jupyter_output>Berry
Harry
{'fraction_non_alphanumeric': 0.14049586776859505, 'fraction_numerical': 0.002066115702479339, 'mean_word_length': 5.736111111111111, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '593872', 'license': 'MIT', 'n_tokens_mistral': 182, 'n_tokens_neox': 175, 'n_words': 23, 'path': '02 - Basic Data Types/03 - Nested Lists.ipynb', 'repo_name': 'naveen-kumar-123/Python-Challenges--HackerRank', 'size': '484'}