Problem 92 in Julia