Write a function in pseudocode that takes an integer, N, as input and returns its binary representation as a string. If N is negative (N < 0), the function should return 'NA'. For example, if N = 5, the function returns '101'.