<filename>2016/day02_bathroom_security/python/src/part1.py
#!/usr/bin/env python
"""Docstring."""

from common import (
    get_input,
    Urinator,
    ThreeByThreeKeypad,
)


def main():
    """Docstring."""
    urinator = Urinator(ThreeByThreeKeypad(), get_input())
    print(urinator.find_code())


if __name__ == "__main__":
    main()
