Program Output: Loop Counting without Thread