Create ABCD

SPOJ Problem Set (classical)
8551. Colours A, B, C, D
Problem code: ABCD