Can Arduino Mega 1280 get input from more than 16 potentiometers?

Can Arduino Mega 1280 get input from more than 16 potentiometers?

The Arduino Mega 1280 has 16 analog inputs, can the digital in/out be used to get data from potentiometers?

I need to get data from 25 potentiometers.

You can use a few digital outputs and an external analog multiplexer to switch multiple analog sources to a single analog input of the Arduino. The Arduino's analog inputs do the same by the way, they just have an internal multiplexer.

Example: http://playground.arduino.cc/learning/4051