Solve fibd problem