Adding the solution for Microsoft appLab() #1