laba3, subprogramm