Classic calculator sample