using System;
using System.IO;
using System.Linq;
namespace Lab7 {
class Program {
static void Main(string[] args) {
byte[] bytes = File.ReadAllBytes("Lab7.exe");
long result = bytes.Aggregate<byte, long>(0, (current, t) => current + t);
Console.WriteLine(result);
Console.ReadKey();
}
}
}