for(i=9;i+3;)print('BAAGGFFEDDCC'[i+2]+' #'[i%5&1],' ',(440/Math.pow(2,i--/12)).toFixed(3))