Number Theory #7
Let \(S\) be the set of integers that can be written in the form \(50m+3n\) where \(m\) and \(n\) are non-negative integers. For example, \(3\), \(50\), \(53\) are all in \(S\). Find the sum of all positive integers not in \(S\).
(Adapted from a past year Singapore Mathematical Olympiad question)