Is there some way for taking input from a file other than using for loop ?
I am using,

```
data = fileinput.input()
c = [int(i) for i in data]
c.sort()

```

But for very large amount of data, it takes too long to process.
input is of the format,

```
58457907
37850775
19743393
70718573
....

```