-module(l). -export([m/0]). m()->case io:fread('',"~d")of{_,[X]}->Y=calendar:is_leap_year(X),io:format("~p is ~sa leap year. ",[X,if Y->"";0<1->"not "end]),m();_->0end.