#! usr/bin/env python

import sys

def main():
    print 'Prime'
    for n in range(2, 10):
        print 'N= ',n
        for x in range(2, n):
            print 'X= ',x
            if n % x == 0:
                print n, 'NOT PRIME'
                break
        else:
            print n, 'PRIME NUMBER'
if __name__ == '__main__':
    main()

59c1c61c850ba63ab11bc6627fe7d34153bf22c4
#! usr/bin/env python

import sys

def main():
    print 'Prime'
    for n in range(2, 10):
        print 'N= ',n
        for x in range(2, n):
            print 'X= ',x
            if n % x == 0:
                print n, 'NOT PRIME'
                break
        else:
            print n, 'PRIME NUMBER'
if __name__ == '__main__':
    main()
