Program for the programming contest