python datetime day of year

>>> import datetime
>>> today = datetime.datetime.now()
>>> print today
2009-03-06 15:37:02.484000
>>> today.strftime('%j')
'065'

Here is what the above code is Doing:
1. Importing the datetime module.
2. Creating a datetime object called today.
3. Printing the datetime object.
4. Converting the datetime object to a string using the strftime() method.
5. Printing the string.

The strftime() method takes a format string as its first argument. The format string contains the characters %j, which is replaced by the day of the year.

The day of the year is a number between 1 and 366 (1 for January 1st, 2 for January 2nd, etc.).

Task

Given a date string, dateString, in the format MM/DD/YYYY, find and print the day number for that date.

Input Format

A single string containing a date in MM/DD/YYYY format.

Output Format

Print the day number for the date in the format d.

Sample Input

08 05 2015

Sample Output

127

Explanation

The day number for August 5th, 2015 is 127.