алгнач цел s, k ввод s ввод k если s < 6 и k < 6 то вывод "YES" иначе вывод "NO" всекон
var s, k: integer;begin readln(s); readln(k); if (s < 6) and (k < 6) then writeln("YES") else writeln("NO")end.
DIM k, s AS INTEGERINPUT sINPUT kIF s < 6 AND k < 6 THEN PRINT "YES"ELSE PRINT "NO"ENDIF
s = int(input())k = int(input())if s < 6 and k < 6: print("YES")else: print("NO")
#include <iostream>using namespace std; int main() { int s, k; cin >> s; cin >> k; if (s < 6 && k < 6) cout << "YES" << endl; else cout << "NO" << endl; return 0;}