##Python 2, <s>114</s> 110 bytes

<!-- language: lang-python -->

    i=input()
    n=1.*sum('@'<c<'['for c in i)/sum(c.isalpha()for c in i)
    print max(n,1-n),'ulpopw'[n<.5::2]+'ercase'