If the ratio of the number of perfect squares to non-perfect squares in a set of the first 50 positive integers is \(1:x\), find the value of \(x\). Let's think step by step and output the final answer within \boxed{}.
user