#include <bits/stdc++.h>   using namespace std;   const int o_9357fc8171180e5951f52ff0433bc1c2 = 2e5 + 5;   int o_c6e13f5716dd4a7981ad58d262f52b74[o_9357fc8171180e5951f52ff0433bc1c2];   int o_9c41a6fd007fd994071a60164bbac5df[o_9357fc8171180e5951f52ff0433bc1c2];   int o_0f2474e49c5126ff73eea4a0af8b5e21[o_9357fc8171180e5951f52ff0433bc1c2];   int o_222c8f12edb48077b7f80e418fc4ae9b;   void o_cdc7abbebb884a9b7563651070ab3584(       int o_ebaa526c4057d32c4c40ddc1b5853432) {     int o_9249d541dcee6d0da9788c8a48341e3f = o_ebaa526c4057d32c4c40ddc1b5853432;     while ((o_ebaa526c4057d32c4c40ddc1b5853432 <=             o_222c8f12edb48077b7f80e418fc4ae9b) &            !!(o_ebaa526c4057d32c4c40ddc1b5853432 <=               o_222c8f12edb48077b7f80e418fc4ae9b)) {       if ((o_c6e13f5716dd4a7981ad58d262f52b74                [o_0f2474e49c5126ff73eea4a0af8b5e21                     [o_ebaa526c4057d32c4c40ddc1b5853432]] <            o_c6e13f5716dd4a7981ad58d262f52b74                [o_9249d541dcee6d0da9788c8a48341e3f]) &           !!(o_c6e13f5716dd4a7981ad58d262f52b74                  [o_0f2474e49c5126ff73eea4a0af8b5e21                       [o_ebaa526c4057d32c4c40ddc1b5853432]] <              o_c6e13f5716dd4a7981ad58d262f52b74                  [o_9249d541dcee6d0da9788c8a48341e3f]))         o_0f2474e49c5126ff73eea4a0af8b5e21[o_ebaa526c4057d32c4c40ddc1b5853432] =             o_9249d541dcee6d0da9788c8a48341e3f;       ;       o_ebaa526c4057d32c4c40ddc1b5853432 += o_ebaa526c4057d32c4c40ddc1b5853432 &                                             -o_ebaa526c4057d32c4c40ddc1b5853432;     };   };   int o_7b4c14178acfe31ed3721a6cd243d1af(int o_b2c3eb11e9cde933c1d1c4ee68797ae1) {     int o_29e92c77d34560f5b43d1a63a2c86194 =         (0x0000000000000000 + 0x0000000000000200 + 0x0000000000000800 -          0x0000000000000A00);     while ((o_b2c3eb11e9cde933c1d1c4ee68797ae1 >             (0x0000000000000000 + 0x0000000000000200 + 0x0000000000000800 -              0x0000000000000A00)) &            !!(o_b2c3eb11e9cde933c1d1c4ee68797ae1 >               (0x0000000000000000 + 0x0000000000000200 + 0x0000000000000800 -                0x0000000000000A00))) {       o_29e92c77d34560f5b43d1a63a2c86194 =           max(o_29e92c77d34560f5b43d1a63a2c86194,               o_c6e13f5716dd4a7981ad58d262f52b74                   [o_0f2474e49c5126ff73eea4a0af8b5e21                        [o_b2c3eb11e9cde933c1d1c4ee68797ae1]]);       o_b2c3eb11e9cde933c1d1c4ee68797ae1 -= o_b2c3eb11e9cde933c1d1c4ee68797ae1 &                                             -o_b2c3eb11e9cde933c1d1c4ee68797ae1;     };     return o_29e92c77d34560f5b43d1a63a2c86194;   };   int main() {     int o_25edde8d6f07981ced44026f92972458, o_afaa1445a88832680cab678cb0ecba8d;     cin >> o_25edde8d6f07981ced44026f92972458 >>         o_222c8f12edb48077b7f80e418fc4ae9b >> o_afaa1445a88832680cab678cb0ecba8d;     for (int o_a857bef51fd39475b80be11d6b22f6db =              (0x0000000000000002 + 0x0000000000000201 + 0x0000000000000801 -               0x0000000000000A03);          (o_a857bef51fd39475b80be11d6b22f6db <=           o_25edde8d6f07981ced44026f92972458) &          !!(o_a857bef51fd39475b80be11d6b22f6db <=             o_25edde8d6f07981ced44026f92972458);          o_a857bef51fd39475b80be11d6b22f6db++)       cin >>           o_9c41a6fd007fd994071a60164bbac5df[o_a857bef51fd39475b80be11d6b22f6db];     int o_b5b891a52e873a8d3954f27b2e9eed11 =             (0x0000000000000002 + 0x0000000000000201 + 0x0000000000000801 -              0x0000000000000A03),         o_cf4ec3c7cd8a5ab051889a363b038203 =             (0x0000000000000000 + 0x0000000000000200 + 0x0000000000000800 -              0x0000000000000A00),         o_d07ee75e0b7097794bfa2922f8c57846,         o_f83a4dfabf25c5eaaef2a7a8b261c1e3 =             (0x0000000000000002 + 0x0000000000000201 + 0x0000000000000801 -              0x0000000000000A03);     o_c6e13f5716dd4a7981ad58d262f52b74[o_9c41a6fd007fd994071a60164bbac5df[(         0x0000000000000002 + 0x0000000000000201 + 0x0000000000000801 -         0x0000000000000A03)]]++;     o_cdc7abbebb884a9b7563651070ab3584(o_9c41a6fd007fd994071a60164bbac5df[(         0x0000000000000002 + 0x0000000000000201 + 0x0000000000000801 -         0x0000000000000A03)]);     while ((o_b5b891a52e873a8d3954f27b2e9eed11 <=             o_25edde8d6f07981ced44026f92972458) &            !!(o_b5b891a52e873a8d3954f27b2e9eed11 <=               o_25edde8d6f07981ced44026f92972458)) {       o_d07ee75e0b7097794bfa2922f8c57846 =           o_b5b891a52e873a8d3954f27b2e9eed11 -           o_cf4ec3c7cd8a5ab051889a363b038203 -           o_7b4c14178acfe31ed3721a6cd243d1af(o_222c8f12edb48077b7f80e418fc4ae9b);       while ((o_cf4ec3c7cd8a5ab051889a363b038203 <               o_b5b891a52e873a8d3954f27b2e9eed11) &                  !!(o_cf4ec3c7cd8a5ab051889a363b038203 <                     o_b5b891a52e873a8d3954f27b2e9eed11) &&              (o_d07ee75e0b7097794bfa2922f8c57846 >               o_afaa1445a88832680cab678cb0ecba8d) &                  !!(o_d07ee75e0b7097794bfa2922f8c57846 >                     o_afaa1445a88832680cab678cb0ecba8d)) {         o_cf4ec3c7cd8a5ab051889a363b038203++;         o_c6e13f5716dd4a7981ad58d262f52b74             [o_9c41a6fd007fd994071a60164bbac5df                  [o_cf4ec3c7cd8a5ab051889a363b038203]]--;         o_cdc7abbebb884a9b7563651070ab3584(             o_9c41a6fd007fd994071a60164bbac5df                 [o_cf4ec3c7cd8a5ab051889a363b038203]);         o_d07ee75e0b7097794bfa2922f8c57846 =             o_b5b891a52e873a8d3954f27b2e9eed11 -             o_cf4ec3c7cd8a5ab051889a363b038203 -             o_7b4c14178acfe31ed3721a6cd243d1af(                 o_222c8f12edb48077b7f80e418fc4ae9b);       };       o_f83a4dfabf25c5eaaef2a7a8b261c1e3 = max(           o_f83a4dfabf25c5eaaef2a7a8b261c1e3,           o_7b4c14178acfe31ed3721a6cd243d1af(o_222c8f12edb48077b7f80e418fc4ae9b));       o_b5b891a52e873a8d3954f27b2e9eed11++;       if ((o_b5b891a52e873a8d3954f27b2e9eed11 >            o_25edde8d6f07981ced44026f92972458) &           !!(o_b5b891a52e873a8d3954f27b2e9eed11 >              o_25edde8d6f07981ced44026f92972458))         break;       ;       o_c6e13f5716dd4a7981ad58d262f52b74           [o_9c41a6fd007fd994071a60164bbac5df                [o_b5b891a52e873a8d3954f27b2e9eed11]]++;       o_cdc7abbebb884a9b7563651070ab3584(           o_9c41a6fd007fd994071a60164bbac5df[o_b5b891a52e873a8d3954f27b2e9eed11]);     };     cout << o_f83a4dfabf25c5eaaef2a7a8b261c1e3;   };