there build consist 10000 apartment number 1 10000 inclusiveCall apartment boring number consist digit Examples boring apartment 11 2 777 9999 onOur character troublemaker call intercom boring apartment till answer follow order First call apartment consist digit 1 increase order 1 11 111 1111 Next call apartment consist digit 2 increase order 2 22 222 2222 and the resident boring apartment x answer character stop call furtherour character wants know digit press total task help count total number keypressesfor example resident boring apartment 22 answer character call apartment number 1 11 111 1111 2 22 total number digit press 1 2 3 4 1 2 13you answer t independent test case