Input

J, integer
I, 4-digit integer

Interface

             |  |
PhasesOfMoon(J, I) 
      |

Process

BEGIN


END 
meatgrinder

Output

PhasesOfMoon, string

Notes

Determines the dates of phases of the moon in the given month J and year I.
   . new moon   ) first quarter   o full moon   ( last quarter
Uses JulianDate and ReverseJulianDate algorithms.

Moon Phase Calendar at http://www.moonconnection.com/moon_phases_calendar.phtml

Examples

Input                 Output 
J       I             PhasesOfMoon 
2       1988          02/02 o  02/10 (  02/17 .  02/24 )
7       2000          07/01 .  07/09 )  07/16 o  07/23 (  07/30 .
9       2000          09/05 )  09/13 o  09/20 (  09/27 . 
10      2001          10/02 o  10/09 (  10/16 .  10/24 ) 
2       2014          02/07 )  02/14 o  02/22 ( 
7       2015          07/02 o  07/09 (  07/16 .  07/23 )  07/31 o 

Notation

<- means is replaced by 
J div K yields the quotient after long division of J by K 
J mod K yields the remainder after long division of J by K