public class Solution {
    public boolean isUgly(int num) {
        if (num < 1) {
            return false;
        }
        
        while (num % 2 == 0) {
            num /= 2;
        }
        
        while (num % 3 == 0) {
            num /= 3;
        }
        
        while (num % 5 == 0) {
            num /= 5;
        }
        
        if (num == 1) {
            return true;
        }
        
        return false;
    }
}

@@ -173,12 +173,18 @@
 num 
-/
 = 
-2
+num %3E%3E 1
 ;%0A  
@@ -356,88 +356,23 @@
     
-if (num == 1) %7B%0A            return true;%0A        %7D%0A        %0A        return false
+return num == 1
 ;%0A  

Simplify UglyNum_001.java