Struggling to connect with those around him, a teenage math prodigy trains for the International Mathematical Olympiad, where a budding romance with a fellow contestant breaks through his emotional walls and forces him to learn that love cannot be calculated.