You'll want to:
- Read in an entire line from the console
- Tokenize the line, splitting along spaces.
- Place those split pieces into an array or list
- Step through that array/list, performing your prime/perfect/etc tests.
What has your class covered along these lines so far?