class FromToDivisible { public: int shortest(int N, int S, int T, vector <int> a, vector <int> b); };