//
//  main.cpp
//  poj
//
//  Created by ChuPan,Wong on 9/27/13.
//  Copyright (c) 2013 ChuPan,Wong. All rights reserved.
//


int main(int argc, const char * argv[])
{
    //  manual computation shows that there is only one solution for this question
    cout<<"l 50"<<endl;
    cout<<"q 40"<<endl;
    cout<<"z 20"<<endl;
    cout<<"s 10"<<endl;
        return 0;
}
