So here is a simple problem input:
The first line contains an integer, N, the number of students.
The 2N subsequent lines describe each student over lines.
The first line contains a student's name.
The second line contains their grade.
and code:

```
l = []
second_lowest_names = []
scores = set()

for _ in range(int(input())):
    name = input()
    score = float(input())
    l.append([name, score])
    scores.add(score)

second_lowest = sorted(scores)[1]

for name, score in l:
    if score == second_lowest:
        second_lowest_names.append(name)

for name in sorted(second_lowest_names):
    print(name, end='\n')

```

I'm just a bit confused of how the float() function only takes the numbers but not the names as input
here's a sample input

```
5
Harry
37.21
Berry
37.21
Tina
37.2
Akriti
41
Harsh
39

```