This solution uses a single String field to represent the PIN.
String
This solution uses two fields: an int for the number of leading zeros, and an int for the remaining digits.
int