package com.ityang.leetcode;

public class Subject326 {

	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

	public boolean isPowerOfThree(int n) {
		return ( n>0 &&  1162261467%n==0);
	}
}
