m intinput ' Unesi prvi broj ' n intinput ' Unesi drugi broj ' maxValue 0 minValue maxm 1 , n 1 for i in range 1 , minm 1 , n 1 if m % i 0 and n % i 0 maxValue maxmaxValue , i minValue minminValue , i printminValue , maxValue <| sep |> I had an ex who had the same problem . Except with her she always had a kidteenager who would show up in all her dreams . She said that at first she was scared when it started happening , which was when she was younger , but then she just got used to seeing him in her dreams . She only told me about this because she was freaked out when the dreams abruptly stopped after she got with me . I did have a couple paranormal experiences with her , them happening to her and not me . Some of the weirdest experiences I ' ve ever had . I wonder if the kid came back to her dreams after we broke up .