## uses School;
(100000..999999)
.Select(t -> t.Digits)
.Where(t -> t[0]+t[2]+t[4] = t[1]+t[3]+t[5])
.Count
.Print
## uses School;
(100000..999999)
.Select(t -> t.Digits)
.Where(t -> t[0]+t[2]+t[4] = t[1]+t[3]+t[5])
.Count
.Print