Solve problems 36,112,188 using Erlang.