Warning: This math problem has ended friendships.