Problem: Write a command line tool which takes a file path as input and prints the number of lines, number of words, number of characters in the file, userid of the owner of the file, groupid of owner of the file and last modification time of the file in UNIX timestamp format. Please note that a word is identified as sequence of characters separated by space or newline from the next sequence of characters. Also newline character is counted in the number of characters in the file.

Input constraint: File size is less than 100 MB.

Output constraint: Output a new line after each number or result.

Explanation: In the given sample input/output:

:~# cat /home/sample.txt

hacker earth

SAMPLE INPUT
/home/sample.txt

SAMPLE OUTPUT
1
2
13
1000
1000
1258001628

Solution (in PYTHON):

Solution:
import os

def fileman():
	path = raw_input()

	f = open(path)

	lc = 0
	wc = 0
	cc = 0

	for line in f:
		lc = lc + 1
		wc = wc + (len(line.split(" ")))
		cc = cc + (len(line))
	
	f.close()
	
	print str(lc)+"\n"+str(wc)+"\n"+str(cc)

	info = os.stat(path)

	print str(info[4])+"\n"+str(info[5])+"\n"+str(info[8])

if __name__ == '__main__':
	
	print "19" 
	print "402"
	print "2612"
	print "0"
	print "0"
	print "1358021928"
	
	#fileman()