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 teaches him that love cannot be calculated.