void file_read(filename) {
    int b, sum = 0;

    f1 = fopen(filename, "r");

    while (!f1.eof()) {
        f1.read(l);
        b = parseInt(l);
        sum = sum + b;
    }

    printf("Sum = %d\n", sum);
void main() {
    file_read("Input.txt");
}