public static int[] rank(String[] h) {
		int[] r;
		if ((r = RF(h))[0] == 10) {
			return r;
		} else if ((r = SF(h))[0] == 9) {
			return r;
		} else if ((r = FK(h))[0] == 8) {
			return r;
		} else if ((r = FH(h))[0] == 7) {
			return r;
		} else if ((r = F(h))[0] == 6) {
			return r;
		} else if ((r = S(h))[0] == 5) {
			return r;
		} else if ((r = TK(h))[0] == 4) {
			return r;
		} else if ((r = TP(h))[0] == 3) {
			return r;
		} else if ((r = OP(h))[0] == 2) {
			return r;
		}
		
		return r;
	}