Sichuan University Programming Contest 2008 Preliminary (Single)

A: Windy's painting